Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8999/0.8999, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 55.78 kB / 0.5054 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.13, allocations: 80.93 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.2729/0.403, allocations: 75.11 MB / 0.6578 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.4174, allocations: 12.73 MB / 0.6702 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.4195, allocations: 65.38 kB / 0.6703 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.4214, allocations: 0.8377 MB / 0.6711 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005817/0.4273, allocations: 2.453 MB / 0.6735 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.4306, allocations: 1.377 MB / 0.6749 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005386/0.436, allocations: 4.372 MB / 0.6791 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.4379, allocations: 1.445 MB / 0.6805 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.4413, allocations: 1.617 MB / 0.6821 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.4431, allocations: 1.191 MB / 0.6833 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.4434, allocations: 162.4 kB / 0.6834 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.4464, allocations: 1.402 MB / 0.6848 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.4468, allocations: 405.1 kB / 0.6852 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009676/0.4478, allocations: 0.8978 MB / 0.6861 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.4516, allocations: 2.848 MB / 0.6889 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4516, allocations: 1.219 kB / 0.6889 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4516, allocations: 4 kB / 0.6889 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.4516, allocations: 0.6562 kB / 0.6889 GB, free: 4.195 MB / 0.5137 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.003809/0.4555, allocations: 2.081 MB / 0.6909 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.4555, allocations: 10.12 kB / 0.6909 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.4557, allocations: 146.8 kB / 0.691 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.4565, allocations: 227.8 kB / 0.6913 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.4589, allocations: 1.444 MB / 0.6927 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.4589, allocations: 80.14 kB / 0.6928 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.4591, allocations: 101.1 kB / 0.6928 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.4611, allocations: 1.102 MB / 0.6939 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.4611, allocations: 5.312 kB / 0.6939 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.4612, allocations: 45.12 kB / 0.694 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.4612, allocations: 25.22 kB / 0.694 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.4632, allocations: 0.8829 MB / 0.6949 GB, free: 0.8438 MB / 0.5137 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.006191/0.4694, allocations: 4.948 MB / 0.6997 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.4708, allocations: 0.6163 MB / 0.7003 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/0.4715, allocations: 350.5 kB / 0.7006 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/0.4721, allocations: 0.8284 MB / 0.7014 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.4722, allocations: 44.05 kB / 0.7015 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/0.4722, allocations: 1.344 kB / 0.7015 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007432/0.4796, allocations: 1.675 MB / 0.7031 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.4797, allocations: 58.5 kB / 0.7032 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.4813, allocations: 1.227 MB / 0.7044 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.44e-05/0.4814, allocations: 39.08 kB / 0.7044 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.4819, allocations: 0.6085 MB / 0.705 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.4821, allocations: 213.6 kB / 0.7052 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.4823, allocations: 158.4 kB / 0.7054 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4824, allocations: 329.3 kB / 0.7057 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.4831, allocations: 288.9 kB / 0.7059 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/0.4839, allocations: 494.3 kB / 0.7064 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.4854, allocations: 0.7121 MB / 0.7071 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4854, allocations: 1.219 kB / 0.7071 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004982/0.4904, allocations: 1.276 MB / 0.7084 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4904, allocations: 6.781 kB / 0.7084 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4904, allocations: 7.516 kB / 0.7084 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.491, allocations: 133 kB / 0.7085 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.4917, allocations: 171.2 kB / 0.7087 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/0.4925, allocations: 0.6924 MB / 0.7093 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.4937, allocations: 125.9 kB / 0.7095 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.4938, allocations: 35.2 kB / 0.7095 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001168/0.495, allocations: 0.5473 MB / 0.71 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008464/0.4958, allocations: 498.9 kB / 0.7105 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001467/0.4973, allocations: 0.7019 MB / 0.7112 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/0.4973, allocations: 2 kB / 0.7112 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004879/0.5022, allocations: 1.266 MB / 0.7124 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.5022, allocations: 6.312 kB / 0.7124 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5022, allocations: 4.188 kB / 0.7124 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/0.5027, allocations: 136.1 kB / 0.7126 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.5033, allocations: 162.4 kB / 0.7127 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007721/0.5041, allocations: 0.694 MB / 0.7134 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.5053, allocations: 109.6 kB / 0.7135 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.5054, allocations: 27.38 kB / 0.7135 GB, free: 5.199 MB / 0.5294 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.0002485/0.5056, allocations: 221.8 kB / 0.7137 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.5059, allocations: 143 kB / 0.7139 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/0.5108, allocations: 1.26 MB / 0.7151 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.5108, allocations: 6.875 kB / 0.7151 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5108, allocations: 0 / 0.7151 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004259/0.5151, allocations: 1.101 MB / 0.7162 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/0.5218, allocations: 2.616 MB / 0.7187 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.5218, allocations: 3.375 kB / 0.7187 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004698/0.5223, allocations: 119.8 kB / 0.7189 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/0.5228, allocations: 129.7 kB / 0.719 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.5229, allocations: 20.67 kB / 0.719 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005025/0.5279, allocations: 2.581 MB / 0.7215 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5279, allocations: 4 kB / 0.7215 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.5334, allocations: 1.691 MB / 0.7232 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.5341, allocations: 311.1 kB / 0.7235 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.5343, allocations: 16 kB / 0.7235 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/0.5352, allocations: 63.94 kB / 0.7236 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5354, allocations: 56.3 kB / 0.7236 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.5354, allocations: 27.98 kB / 0.7236 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001238/0.5367, allocations: 0.8816 MB / 0.7245 GB, free: 12.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5367, allocations: 4 kB / 0.7245 GB, free: 12.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001959/0.5387, allocations: 0.7252 MB / 0.7252 GB, free: 11.59 MB / 0.545 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.006484/0.5452, allocations: 2.589 MB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.548, allocations: 1.158 MB / 0.7289 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.548, allocations: 0 / 0.7289 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.5495, allocations: 0.5686 MB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/0.5533, allocations: 0.804 MB / 0.7302 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.5738, allocations: 10.45 MB / 0.7404 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.5746, allocations: 1.172 MB / 0.7416 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00137/0.576, allocations: 307 kB / 0.7418 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.5767, allocations: 0.5032 MB / 0.7423 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.5767, allocations: 0 / 0.7423 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.882/2.459, allocations: 42.16 MB / 0.7835 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.53/24.98, allocations: 17.09 kB / 0.7835 GB, free: 15.77 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)