Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.001201/0.001201, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 192 kB / 16.25 MB, free: 6.637 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.184/1.184, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.243/2.243, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.464, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04418/0.5083, allocations: 53.02 MB / 1.069 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.5214, allocations: 11.42 MB / 1.08 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009717/0.5224, allocations: 55.62 kB / 1.08 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.5238, allocations: 0.645 MB / 1.081 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.5274, allocations: 2.02 MB / 1.083 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.5298, allocations: 1.258 MB / 1.084 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.5331, allocations: 3.962 MB / 1.088 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.5344, allocations: 1.275 MB / 1.089 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.5365, allocations: 1.421 MB / 1.09 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000973/0.5375, allocations: 1.12 MB / 1.091 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.5376, allocations: 140 kB / 1.091 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5392, allocations: 1.056 MB / 1.092 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.5395, allocations: 442.5 kB / 1.093 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.5402, allocations: 0.8629 MB / 1.094 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.5424, allocations: 2.559 MB / 1.096 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5425, allocations: 0 / 1.096 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5425, allocations: 4 kB / 1.096 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5425, allocations: 4 kB / 1.096 GB, free: 1.164 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002874/0.5454, allocations: 2.014 MB / 1.098 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.5454, allocations: 12.03 kB / 1.098 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.5456, allocations: 143.8 kB / 1.098 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.5488, allocations: 0.5647 MB / 1.099 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.5506, allocations: 1.377 MB / 1.1 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.5507, allocations: 119.7 kB / 1.1 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5508, allocations: 95.91 kB / 1.1 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.5535, allocations: 1.358 MB / 1.102 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5535, allocations: 0 / 1.102 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.5536, allocations: 36 kB / 1.102 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.5537, allocations: 27.94 kB / 1.102 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003391/0.5571, allocations: 1.425 MB / 1.103 GB, free: 9.844 MB / 0.8575 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.006638/0.5637, allocations: 5.366 MB / 1.108 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.5664, allocations: 1.067 MB / 1.11 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.5678, allocations: 0.5966 MB / 1.11 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007041/0.5686, allocations: 1.077 MB / 1.111 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/0.5702, allocations: 0.6744 MB / 1.112 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 1.854e-06/0.5702, allocations: 0 / 1.112 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.00457/0.5748, allocations: 1.754 MB / 1.114 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5748, allocations: 67.94 kB / 1.114 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.5763, allocations: 1.397 MB / 1.115 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.5764, allocations: 37.7 kB / 1.115 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.5769, allocations: 0.6423 MB / 1.116 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.5771, allocations: 209 kB / 1.116 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.5773, allocations: 166.4 kB / 1.116 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5774, allocations: 337.9 kB / 1.116 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.5789, allocations: 0.5562 MB / 1.117 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001609/0.5805, allocations: 0.7473 MB / 1.118 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.5834, allocations: 1.193 MB / 1.119 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5834, allocations: 4 kB / 1.119 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003363/0.5868, allocations: 1.433 MB / 1.12 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5868, allocations: 12.06 kB / 1.12 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.5868, allocations: 4 kB / 1.12 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5868, allocations: 8 kB / 1.12 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.588, allocations: 251.6 kB / 1.12 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.588, allocations: 11.98 kB / 1.12 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5893, allocations: 214.8 kB / 1.121 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/0.5894, allocations: 39.98 kB / 1.121 GB, free: 7.285 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004336/0.5899, allocations: 353.5 kB / 1.121 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.5901, allocations: 162.1 kB / 1.121 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/0.5936, allocations: 1.411 MB / 1.123 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.5936, allocations: 8 kB / 1.123 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5936, allocations: 3.984 kB / 1.123 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003018/0.5966, allocations: 1.259 MB / 1.124 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005066/0.6017, allocations: 2.961 MB / 1.127 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6017, allocations: 0 / 1.127 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6028, allocations: 211.9 kB / 1.127 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6028, allocations: 4 kB / 1.127 GB, free: 0.7852 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.6029, allocations: 19.98 kB / 1.127 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.6029, allocations: 11.98 kB / 1.127 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6029, allocations: 7.938 kB / 1.127 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/0.6078, allocations: 2.227 MB / 1.129 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.6083, allocations: 351 kB / 1.129 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.6085, allocations: 12 kB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.6097, allocations: 143.9 kB / 1.13 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6098, allocations: 52.44 kB / 1.13 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.6099, allocations: 35.95 kB / 1.13 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001095/0.611, allocations: 0.983 MB / 1.131 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.611, allocations: 7.938 kB / 1.131 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001005/0.612, allocations: 451.3 kB / 1.131 GB, free: 12.44 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005766/0.6178, allocations: 3.113 MB / 1.134 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003413/0.6212, allocations: 1.332 MB / 1.135 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6212, allocations: 0 / 1.135 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.6229, allocations: 0.6558 MB / 1.136 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002936/0.6258, allocations: 0.7621 MB / 1.137 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.6483, allocations: 13.68 MB / 1.15 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/0.6491, allocations: 1.225 MB / 1.151 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001131/0.6502, allocations: 310.5 kB / 1.152 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007385/0.6509, allocations: 0.5617 MB / 1.152 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.651, allocations: 0 / 1.152 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8524/1.503, allocations: 41.53 MB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/1.504, allocations: 249.7 kB / 1.193 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.875/5.379, allocations: 0 / 1.193 GB, free: 12.97 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)