Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006675/0.006674, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 190.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.011, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08375/1.095, allocations: 75.16 MB / 1.161 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02633/1.121, allocations: 12.75 MB / 1.173 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004457/1.126, allocations: 66.19 kB / 1.173 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002916/1.129, allocations: 0.8286 MB / 1.174 GB, free: 5.625 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009714/1.139, allocations: 2.466 MB / 1.177 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004067/1.143, allocations: 1.392 MB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007632/1.15, allocations: 4.397 MB / 1.182 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/1.153, allocations: 1.43 MB / 1.184 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/1.156, allocations: 1.623 MB / 1.185 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/1.158, allocations: 1.19 MB / 1.186 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/1.158, allocations: 167.2 kB / 1.187 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/1.161, allocations: 1.404 MB / 1.188 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/1.162, allocations: 401.5 kB / 1.188 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.163, allocations: 0.9072 MB / 1.189 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003538/1.166, allocations: 2.855 MB / 1.192 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.166, allocations: 4 kB / 1.192 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.292e-06/1.166, allocations: 0 / 1.192 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.595e-05/1.166, allocations: 1.281 kB / 1.192 GB, free: 10.57 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003302/1.17, allocations: 2.071 MB / 1.194 GB, free: 9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/1.17, allocations: 9.312 kB / 1.194 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/1.17, allocations: 157.1 kB / 1.194 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/1.17, allocations: 230.1 kB / 1.194 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/1.173, allocations: 1.514 MB / 1.196 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/1.173, allocations: 84.66 kB / 1.196 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/1.173, allocations: 99.91 kB / 1.196 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/1.175, allocations: 1.101 MB / 1.197 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.175, allocations: 4.922 kB / 1.197 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/1.175, allocations: 40.97 kB / 1.197 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/1.175, allocations: 24.62 kB / 1.197 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/1.177, allocations: 0.8833 MB / 1.198 GB, free: 6.336 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00598/1.183, allocations: 4.912 MB / 1.203 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/1.184, allocations: 0.6276 MB / 1.203 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/1.185, allocations: 346 kB / 1.204 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/1.186, allocations: 0.8285 MB / 1.205 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.186, allocations: 50.42 kB / 1.205 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 1.904e-06/1.186, allocations: 0 / 1.205 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.00702/1.193, allocations: 1.671 MB / 1.206 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/1.193, allocations: 58.09 kB / 1.206 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.194, allocations: 1.231 MB / 1.208 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/1.195, allocations: 39.08 kB / 1.208 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006025/1.195, allocations: 0.6035 MB / 1.208 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/1.195, allocations: 215.3 kB / 1.208 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/1.196, allocations: 159.4 kB / 1.209 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.196, allocations: 336.8 kB / 1.209 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/1.197, allocations: 290.7 kB / 1.209 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009366/1.197, allocations: 491.6 kB / 1.21 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/1.199, allocations: 0.7134 MB / 1.21 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.199, allocations: 1.469 kB / 1.21 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004673/1.204, allocations: 1.27 MB / 1.212 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.204, allocations: 6.781 kB / 1.212 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/1.204, allocations: 7.5 kB / 1.212 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/1.204, allocations: 137.4 kB / 1.212 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/1.205, allocations: 154.9 kB / 1.212 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/1.206, allocations: 0.7017 MB / 1.212 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.207, allocations: 120.5 kB / 1.213 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/1.207, allocations: 36.05 kB / 1.213 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001089/1.208, allocations: 0.5461 MB / 1.213 GB, free: 11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009099/1.209, allocations: 498 kB / 1.214 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/1.211, allocations: 0.7065 MB / 1.214 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/1.211, allocations: 1.281 kB / 1.214 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004739/1.215, allocations: 1.266 MB / 1.216 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.215, allocations: 7.156 kB / 1.216 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.216, allocations: 8.125 kB / 1.216 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/1.216, allocations: 131.8 kB / 1.216 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/1.217, allocations: 162.4 kB / 1.216 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008333/1.217, allocations: 0.6971 MB / 1.217 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.219, allocations: 95.52 kB / 1.217 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/1.219, allocations: 35.98 kB / 1.217 GB, free: 8.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/1.219, allocations: 221.4 kB / 1.217 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.219, allocations: 142.2 kB / 1.217 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/1.224, allocations: 1.264 MB / 1.218 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/1.224, allocations: 12 kB / 1.218 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.224, allocations: 0 / 1.218 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004178/1.228, allocations: 1.096 MB / 1.219 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/1.235, allocations: 2.614 MB / 1.222 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.235, allocations: 4 kB / 1.222 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/1.236, allocations: 112.2 kB / 1.222 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/1.236, allocations: 140.6 kB / 1.222 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/1.236, allocations: 23.98 kB / 1.222 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/1.241, allocations: 2.571 MB / 1.225 GB, free: 164 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.241, allocations: 4 kB / 1.225 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/1.247, allocations: 1.703 MB / 1.226 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009961/1.248, allocations: 307.2 kB / 1.227 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/1.248, allocations: 23.92 kB / 1.227 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.249, allocations: 51.94 kB / 1.227 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.249, allocations: 56.38 kB / 1.227 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/1.249, allocations: 31.97 kB / 1.227 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001833/1.251, allocations: 0.8855 MB / 1.228 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3e-07/1.251, allocations: 0 / 1.228 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003199/1.254, allocations: 0.7135 MB / 1.228 GB, free: 12.3 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007041/1.262, allocations: 2.601 MB / 1.231 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003006/1.265, allocations: 1.117 MB / 1.232 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.265, allocations: 4 kB / 1.232 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.266, allocations: 0.5603 MB / 1.233 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/1.27, allocations: 0.7824 MB / 1.233 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.294, allocations: 9.792 MB / 1.243 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.295, allocations: 1.172 MB / 1.244 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00145/1.297, allocations: 310.9 kB / 1.244 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/1.298, allocations: 0.511 MB / 1.245 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of SimCode: time 1.232e-06/1.298, allocations: 0 / 1.245 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.796/5.094, allocations: 42.41 MB / 1.286 GB, free: 1.184 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/22.3, allocations: 13.7 kB / 1.286 GB, free: 1.172 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)