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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009881/0.0009881, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001018/0.001018, allocations: 194.5 kB / 16.14 MB, free: 6.652 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.201/2.201, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 0.8686 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.454, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04004/0.4941, allocations: 53.13 MB / 1.069 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01223/0.5064, allocations: 11.56 MB / 1.08 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008413/0.5072, allocations: 55.69 kB / 1.08 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.5085, allocations: 0.6293 MB / 1.081 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.5116, allocations: 1.986 MB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.5137, allocations: 1.252 MB / 1.084 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003567/0.5173, allocations: 5.056 MB / 1.089 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.5184, allocations: 1.087 MB / 1.09 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.5197, allocations: 1.198 MB / 1.091 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000881/0.5205, allocations: 1.081 MB / 1.092 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.5207, allocations: 72 kB / 1.092 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.5222, allocations: 0.9509 MB / 1.093 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.5225, allocations: 374.5 kB / 1.093 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.5231, allocations: 0.781 MB / 1.094 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.5251, allocations: 2.516 MB / 1.097 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5251, allocations: 0 / 1.097 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.71e-07/0.5251, allocations: 0 / 1.097 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5251, allocations: 0 / 1.097 GB, free: 0.793 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.002887/0.528, allocations: 2.018 MB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.5281, allocations: 8.031 kB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.5282, allocations: 139.8 kB / 1.099 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.5314, allocations: 0.5764 MB / 1.099 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.5331, allocations: 1.367 MB / 1.101 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.5332, allocations: 119.6 kB / 1.101 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5334, allocations: 96 kB / 1.101 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.536, allocations: 1.362 MB / 1.102 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.536, allocations: 0 / 1.102 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.5361, allocations: 43.98 kB / 1.102 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.5362, allocations: 24 kB / 1.102 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.5396, allocations: 1.429 MB / 1.104 GB, free: 9.457 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.006318/0.5459, allocations: 5.362 MB / 1.109 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.5485, allocations: 1.068 MB / 1.11 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.5499, allocations: 0.5968 MB / 1.11 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.5506, allocations: 1.073 MB / 1.111 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.5521, allocations: 0.6744 MB / 1.112 GB, free: 180 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 1.833e-06/0.5521, allocations: 3.938 kB / 1.112 GB, free: 176 kB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.004331/0.5565, allocations: 1.75 MB / 1.114 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5565, allocations: 55.97 kB / 1.114 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.5579, allocations: 1.405 MB / 1.115 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.558, allocations: 49.64 kB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.5584, allocations: 0.6424 MB / 1.116 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.5586, allocations: 201.1 kB / 1.116 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.5589, allocations: 174.4 kB / 1.116 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.559, allocations: 334 kB / 1.117 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.5604, allocations: 0.5523 MB / 1.117 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.5619, allocations: 0.7535 MB / 1.118 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.5646, allocations: 1.193 MB / 1.119 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5646, allocations: 4 kB / 1.119 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003194/0.5678, allocations: 1.436 MB / 1.12 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5679, allocations: 4 kB / 1.12 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5679, allocations: 11.98 kB / 1.12 GB, free: 7.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5679, allocations: 8 kB / 1.12 GB, free: 7.398 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.569, allocations: 248.1 kB / 1.121 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.569, allocations: 11.94 kB / 1.121 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.5702, allocations: 218.8 kB / 1.121 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.5703, allocations: 39.97 kB / 1.121 GB, free: 6.891 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.000413/0.5707, allocations: 359 kB / 1.121 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.5709, allocations: 150.2 kB / 1.121 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.5742, allocations: 1.407 MB / 1.123 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5743, allocations: 8 kB / 1.123 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5743, allocations: 4 kB / 1.123 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002944/0.5772, allocations: 1.267 MB / 1.124 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004862/0.5821, allocations: 2.957 MB / 1.127 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5821, allocations: 8.25 kB / 1.127 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.5831, allocations: 203.7 kB / 1.127 GB, free: 412 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5832, allocations: 7.938 kB / 1.127 GB, free: 404 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/0.5832, allocations: 23.97 kB / 1.127 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.5832, allocations: 11.94 kB / 1.127 GB, free: 368 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5832, allocations: 3.938 kB / 1.127 GB, free: 364 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004698/0.5879, allocations: 2.227 MB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.5884, allocations: 351 kB / 1.13 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.5885, allocations: 16 kB / 1.13 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.5897, allocations: 139.8 kB / 1.13 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5898, allocations: 48.53 kB / 1.13 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.5899, allocations: 43.89 kB / 1.13 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001051/0.5909, allocations: 0.983 MB / 1.131 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5909, allocations: 0 / 1.131 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009464/0.5919, allocations: 455.3 kB / 1.131 GB, free: 12.05 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.005571/0.5975, allocations: 3.106 MB / 1.134 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003009/0.6005, allocations: 1.27 MB / 1.136 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6005, allocations: 4.375 kB / 1.136 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.6021, allocations: 0.6555 MB / 1.136 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/0.6048, allocations: 0.7212 MB / 1.137 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.626, allocations: 13.67 MB / 1.15 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006343/0.6267, allocations: 1.221 MB / 1.151 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001068/0.6277, allocations: 310.8 kB / 1.152 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.6284, allocations: 0.5617 MB / 1.152 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of SimCode: time 3.2e-07/0.6284, allocations: 4 kB / 1.152 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.686/2.314, allocations: 40.49 MB / 1.192 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/2.315, allocations: 249.6 kB / 1.192 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/5.502, allocations: 7.938 kB / 1.192 GB, free: 13.66 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)