Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.0008337/0.0008337, allocations: 99.28 kB / 16.02 MB, free: 80 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.0009687/0.0009688, allocations: 185.2 kB / 16.92 MB, free: 6.75 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.268/1.268, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6529/0.6529, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003203, allocations: 8 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3074/0.4418, allocations: 59.67 MB / 0.6183 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.4573, allocations: 11.91 MB / 0.6299 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.4591, allocations: 49.31 kB / 0.63 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.4608, allocations: 0.5504 MB / 0.6305 GB, free: 6.801 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.4657, allocations: 1.809 MB / 0.6323 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.4686, allocations: 1.076 MB / 0.6333 GB, free: 5.062 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004717/0.4733, allocations: 3.904 MB / 0.6372 GB, free: 2.883 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.475, allocations: 0.8955 MB / 0.638 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.4774, allocations: 1.116 MB / 0.6391 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.4785, allocations: 0.8584 MB / 0.64 GB, free: 1.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.4786, allocations: 45 kB / 0.64 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.4811, allocations: 1.339 MB / 0.6413 GB, free: 412 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.4813, allocations: 213.6 kB / 0.6415 GB, free: 248 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005911/0.4819, allocations: 0.6284 MB / 0.6421 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.4843, allocations: 2.192 MB / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4843, allocations: 0 / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4843, allocations: 0 / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4843, allocations: 0 / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002392/0.4867, allocations: 1.486 MB / 0.6457 GB, free: 13.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4868, allocations: 11.91 kB / 0.6457 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.4869, allocations: 124.4 kB / 0.6458 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/0.489, allocations: 470.5 kB / 0.6463 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.4908, allocations: 1.127 MB / 0.6474 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.4912, allocations: 132.4 kB / 0.6475 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4913, allocations: 83.19 kB / 0.6476 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.4932, allocations: 0.9993 MB / 0.6486 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4933, allocations: 6.469 kB / 0.6486 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.4933, allocations: 30.91 kB / 0.6486 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4934, allocations: 18.44 kB / 0.6486 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.4956, allocations: 0.9084 MB / 0.6495 GB, free: 10.86 MB / 478.1 MB 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.005655/0.5012, allocations: 4.902 MB / 0.6543 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.5047, allocations: 0.8974 MB / 0.6552 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/0.5055, allocations: 320.7 kB / 0.6555 GB, free: 4.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/0.5061, allocations: 0.9064 MB / 0.6564 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.5061, allocations: 42.44 kB / 0.6564 GB, free: 3.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.5061, allocations: 0 / 0.6564 GB, free: 3.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.007416/0.5135, allocations: 1.958 MB / 0.6583 GB, free: 1.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5136, allocations: 55.41 kB / 0.6584 GB, free: 1.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.515, allocations: 1.055 MB / 0.6594 GB, free: 212 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.5151, allocations: 41.7 kB / 0.6594 GB, free: 164 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.5155, allocations: 0.5235 MB / 0.66 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.5156, allocations: 149.8 kB / 0.6601 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.5157, allocations: 45.69 kB / 0.6601 GB, free: 15.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.5158, allocations: 333.9 kB / 0.6605 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009053/0.5167, allocations: 320.9 kB / 0.6608 GB, free: 14.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5178, allocations: 0.5311 MB / 0.6613 GB, free: 14.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.5195, allocations: 0.7325 MB / 0.662 GB, free: 13.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5195, allocations: 4 kB / 0.662 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003645/0.5232, allocations: 1.216 MB / 0.6632 GB, free: 12.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.5233, allocations: 213 kB / 0.6634 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5233, allocations: 8 kB / 0.6634 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.5246, allocations: 334.9 kB / 0.6637 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.5251, allocations: 127.8 kB / 0.6638 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.5266, allocations: 0.9386 MB / 0.6648 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.5279, allocations: 195.2 kB / 0.6649 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.528, allocations: 31.98 kB / 0.665 GB, free: 10.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.528, allocations: 10.19 kB / 0.665 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003275/0.5313, allocations: 1.055 MB / 0.666 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5313, allocations: 7.938 kB / 0.666 GB, free: 9.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.5324, allocations: 333 kB / 0.6663 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.5329, allocations: 123.9 kB / 0.6665 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.5344, allocations: 0.9369 MB / 0.6674 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5355, allocations: 172.9 kB / 0.6675 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.5355, allocations: 31.92 kB / 0.6676 GB, free: 7.555 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004653/0.536, allocations: 352.9 kB / 0.6679 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.5362, allocations: 110.6 kB / 0.668 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.5385, allocations: 0.9831 MB / 0.669 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.5386, allocations: 8 kB / 0.669 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5386, allocations: 3.938 kB / 0.669 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5386, allocations: 3.984 kB / 0.669 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/0.5436, allocations: 2.253 MB / 0.6712 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5437, allocations: 0 / 0.6712 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.544, allocations: 68.17 kB / 0.6713 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.545, allocations: 332.5 kB / 0.6716 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.545, allocations: 16 kB / 0.6716 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.5465, allocations: 0.9698 MB / 0.6725 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5465, allocations: 4.031 kB / 0.6725 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/0.5502, allocations: 1.257 MB / 0.6738 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.5505, allocations: 283.4 kB / 0.674 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.5507, allocations: 8 kB / 0.674 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/0.5516, allocations: 115.8 kB / 0.6742 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.5517, allocations: 35.94 kB / 0.6742 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.5517, allocations: 20 kB / 0.6742 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.5528, allocations: 0.7469 MB / 0.6749 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5528, allocations: 0 / 0.6749 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001401/0.5542, allocations: 0.5651 MB / 0.6755 GB, free: 15.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004484/0.5587, allocations: 2.071 MB / 0.6775 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.5617, allocations: 1.165 MB / 0.6786 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5618, allocations: 0 / 0.6786 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008929/0.5627, allocations: 371.1 kB / 0.679 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/0.5654, allocations: 0.4979 MB / 0.6795 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.5842, allocations: 9.219 MB / 0.6885 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.5848, allocations: 1.061 MB / 0.6895 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009493/0.5858, allocations: 224.2 kB / 0.6897 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/0.5863, allocations: 403.4 kB / 0.6901 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.5863, allocations: 0 / 0.6901 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07421/0.6605, allocations: 31.98 MB / 0.7214 GB, free: 208 kB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003311/0.6609, allocations: 272.5 kB / 0.7216 GB, free: 15.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.346, allocations: 0 / 0.7216 GB, free: 15.88 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)