Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.16/1.16, allocations: 249.4 MB / 256.7 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 196.4 kB / 316 MB, free: 3.48 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9859/0.9859, allocations: 205.1 MB / 0.5667 GB, free: 15.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008031/0.0008031, allocations: 85.14 kB / 0.671 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/5.991e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.129, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8482/0.9773, allocations: 446.3 MB / 1.32 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.9775, allocations: 89.83 kB / 1.321 GB, free: 300.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.504/3.481, allocations: 1.067 GB / 2.388 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001489/3.482, allocations: 54.17 kB / 2.388 GB, free: 134.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.003299/3.485, allocations: 2.202 MB / 2.39 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/3.485, allocations: 12.83 kB / 2.39 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/3.49, allocations: 1.137 MB / 2.391 GB, free: 133 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/3.495, allocations: 2.647 MB / 2.394 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/3.496, allocations: 174.9 kB / 2.394 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/3.496, allocations: 78.28 kB / 2.394 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002096/3.498, allocations: 1.457 MB / 2.395 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/3.5, allocations: 1.473 MB / 2.397 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/3.5, allocations: 7.031 kB / 2.397 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/3.5, allocations: 0 / 2.397 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/3.5, allocations: 34.22 kB / 2.397 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/3.51, allocations: 8.113 MB / 2.405 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/3.512, allocations: 1.239 MB / 2.406 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/3.512, allocations: 0.5271 MB / 2.406 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0039/3.516, allocations: 3.499 MB / 2.41 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/3.516, allocations: 39.38 kB / 2.41 GB, free: 127 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 3.186e-06/3.516, allocations: 3.188 kB / 2.41 GB, free: 127 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.002593/3.519, allocations: 1.408 MB / 2.411 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/3.519, allocations: 65.69 kB / 2.411 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/3.52, allocations: 1.454 MB / 2.413 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.233e-05/3.521, allocations: 25.7 kB / 2.413 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/3.521, allocations: 0.6185 MB / 2.413 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/3.521, allocations: 212 kB / 2.413 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/3.521, allocations: 0 / 2.413 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/3.521, allocations: 344 kB / 2.414 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/3.522, allocations: 0.5037 MB / 2.414 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/3.522, allocations: 0.8814 MB / 2.415 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/3.524, allocations: 0.6463 MB / 2.416 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/3.524, allocations: 3.156 kB / 2.416 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002934/3.527, allocations: 1.709 MB / 2.417 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004736/3.527, allocations: 3.739 MB / 2.421 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/3.527, allocations: 10.81 kB / 2.421 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/3.529, allocations: 0.6635 MB / 2.422 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/3.53, allocations: 309.3 kB / 2.422 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/3.532, allocations: 1.341 MB / 2.423 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/3.534, allocations: 272.8 kB / 2.424 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/3.534, allocations: 80.53 kB / 2.424 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-06/3.534, allocations: 5.094 kB / 2.424 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003837/3.538, allocations: 1.592 MB / 2.425 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/3.538, allocations: 7.688 kB / 2.425 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/3.539, allocations: 0.6687 MB / 2.426 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/3.54, allocations: 298.2 kB / 2.426 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/3.542, allocations: 1.335 MB / 2.427 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/3.543, allocations: 236.6 kB / 2.428 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/3.543, allocations: 83.03 kB / 2.428 GB, free: 120.1 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002636/3.544, allocations: 139 kB / 2.428 GB, free: 120 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/3.544, allocations: 181.6 kB / 2.428 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/3.547, allocations: 1.694 MB / 2.43 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/3.547, allocations: 11.25 kB / 2.43 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/3.547, allocations: 3.906 kB / 2.43 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/3.547, allocations: 4.25 kB / 2.43 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/3.553, allocations: 3.363 MB / 2.433 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/3.553, allocations: 0 / 2.433 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/3.554, allocations: 204.6 kB / 2.433 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008594/3.555, allocations: 0.6406 MB / 2.434 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/3.555, allocations: 26.55 kB / 2.434 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/3.556, allocations: 1.312 MB / 2.435 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/3.556, allocations: 0 / 2.435 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00279/3.559, allocations: 1.708 MB / 2.437 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/3.56, allocations: 450.1 kB / 2.437 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/3.56, allocations: 6.812 kB / 2.437 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/3.562, allocations: 180.7 kB / 2.437 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/3.562, allocations: 51.45 kB / 2.438 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/3.562, allocations: 58.12 kB / 2.438 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001198/3.563, allocations: 1.11 MB / 2.439 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002577/3.566, allocations: 1.042 MB / 2.44 GB, free: 117.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/3.567, allocations: 1.17 MB / 2.441 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003834/3.571, allocations: 2.085 MB / 2.443 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/3.571, allocations: 0 / 2.443 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/3.573, allocations: 0.681 MB / 2.444 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/3.575, allocations: 0.684 MB / 2.444 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/3.58, allocations: 2.648 MB / 2.447 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/3.582, allocations: 1.683 MB / 2.448 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/3.582, allocations: 0 / 2.448 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.06388/3.646, allocations: 47.37 MB / 2.495 GB, free: 89.35 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches