Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009155, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008403/0.008403, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008794/0.0008795, allocations: 19.98 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2685, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06431/0.3329, allocations: 52.09 MB / 0.8387 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01974/0.3527, allocations: 11.34 MB / 0.8498 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004033/0.3568, allocations: 55.62 kB / 0.8499 GB, free: 11.88 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.3599, allocations: 0.6253 MB / 0.8505 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00952/0.3694, allocations: 1.98 MB / 0.8524 GB, free: 9.262 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004343/0.3738, allocations: 1.26 MB / 0.8536 GB, free: 8.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009184/0.383, allocations: 5.017 MB / 0.8585 GB, free: 2.988 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.3861, allocations: 1.053 MB / 0.8596 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.3899, allocations: 1.17 MB / 0.8607 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.393, allocations: 1.034 MB / 0.8617 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005901/0.3936, allocations: 60 kB / 0.8618 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.3976, allocations: 0.9313 MB / 0.8627 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007919/0.3984, allocations: 358.5 kB / 0.863 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.4006, allocations: 0.7748 MB / 0.8638 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005801/0.4064, allocations: 2.449 MB / 0.8662 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4064, allocations: 3.938 kB / 0.8662 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.288e-06/0.4064, allocations: 4 kB / 0.8662 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001093/0.4066, allocations: 0 / 0.8662 GB, free: 11.09 MB / 0.6856 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.005018/0.4116, allocations: 1.719 MB / 0.8679 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.4117, allocations: 8.031 kB / 0.8679 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003941/0.4156, allocations: 0.6311 MB / 0.8685 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.4188, allocations: 1.352 MB / 0.8698 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4191, allocations: 119.7 kB / 0.8699 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003116/0.4194, allocations: 92 kB / 0.87 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.4231, allocations: 1.397 MB / 0.8714 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.4231, allocations: 4 kB / 0.8714 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.4233, allocations: 39.98 kB / 0.8714 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.4233, allocations: 28 kB / 0.8714 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.4275, allocations: 1.503 MB / 0.8729 GB, free: 4.055 MB / 0.6856 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.00984/0.4373, allocations: 5.389 MB / 0.8782 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.4404, allocations: 1.129 MB / 0.8793 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.4422, allocations: 0.6349 MB / 0.8799 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009211/0.4431, allocations: 1.069 MB / 0.8809 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/0.4451, allocations: 0.7134 MB / 0.8816 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.596e-06/0.4451, allocations: 4 kB / 0.8816 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005541/0.4506, allocations: 1.856 MB / 0.8835 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.4507, allocations: 67.95 kB / 0.8835 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/0.4537, allocations: 1.385 MB / 0.8849 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.4538, allocations: 37.7 kB / 0.8849 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.4545, allocations: 0.6422 MB / 0.8855 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.4548, allocations: 209 kB / 0.8857 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.455, allocations: 65.69 kB / 0.8858 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4551, allocations: 334 kB / 0.8861 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.4569, allocations: 0.5875 MB / 0.8867 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.4589, allocations: 0.8109 MB / 0.8875 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.4622, allocations: 1.26 MB / 0.8887 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4622, allocations: 0 / 0.8887 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0045/0.4667, allocations: 1.51 MB / 0.8902 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.4668, allocations: 11.94 kB / 0.8902 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.4668, allocations: 4 kB / 0.8902 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/0.4669, allocations: 8 kB / 0.8902 GB, free: 1.625 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4681, allocations: 268.1 kB / 0.8905 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.4682, allocations: 11.94 kB / 0.8905 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.4701, allocations: 241.6 kB / 0.8907 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.624e-05/0.4702, allocations: 39.97 kB / 0.8907 GB, free: 1.078 MB / 0.7012 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.0008649/0.4711, allocations: 357.6 kB / 0.8911 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.4714, allocations: 146.2 kB / 0.8912 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.4757, allocations: 1.489 MB / 0.8927 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.4758, allocations: 12 kB / 0.8927 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4758, allocations: 0 / 0.8927 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003351/0.4792, allocations: 1.333 MB / 0.894 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006583/0.4858, allocations: 3.019 MB / 0.8969 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.4858, allocations: 7.984 kB / 0.897 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.487, allocations: 220 kB / 0.8972 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.487, allocations: 4 kB / 0.8972 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/0.4871, allocations: 23.97 kB / 0.8972 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.4871, allocations: 11.94 kB / 0.8972 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4871, allocations: 0 / 0.8972 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.4927, allocations: 2.34 MB / 0.8995 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/0.4937, allocations: 383 kB / 0.8998 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.4939, allocations: 12 kB / 0.8999 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.4952, allocations: 151.8 kB / 0.9 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4954, allocations: 52.42 kB / 0.9001 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.43e-05/0.4955, allocations: 35.97 kB / 0.9001 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001396/0.4969, allocations: 0.9748 MB / 0.901 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4969, allocations: 4 kB / 0.901 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001347/0.4982, allocations: 455.4 kB / 0.9015 GB, free: 5.875 MB / 0.7169 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.000894/0.4992, allocations: 441.4 kB / 0.9019 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.5029, allocations: 1.348 MB / 0.9032 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5029, allocations: 3.938 kB / 0.9032 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.5047, allocations: 0.6871 MB / 0.9039 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/0.509, allocations: 0.7402 MB / 0.9046 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.5143, allocations: 3.198 MB / 0.9077 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009417/0.5153, allocations: 1.218 MB / 0.9089 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00166/0.517, allocations: 317.9 kB / 0.9092 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.5174, allocations: 127.4 kB / 0.9094 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.272e-06/0.5174, allocations: 0 / 0.9094 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.47/0.9874, allocations: 29.33 MB / 0.938 GB, free: 129.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) Environment - environmentSimulation: