Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1") [: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/BuildSysPro 3.5.0/package.mo): time 0.6938/0.6938, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 89.83 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.032e-05, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.178, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.333, allocations: 389.3 MB / 1.001 GB, free: 93.26 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.334, allocations: 96.62 kB / 1.001 GB, free: 93.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.878/6.211, allocations: 1.32 GB / 2.321 GB, free: 39.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0008898/6.212, allocations: 95.09 kB / 2.321 GB, free: 39.1 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.0146/6.227, allocations: 3.39 MB / 2.324 GB, free: 35.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/6.227, allocations: 12.03 kB / 2.324 GB, free: 35.67 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/6.232, allocations: 0.6046 MB / 2.325 GB, free: 35.06 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/6.25, allocations: 4.514 MB / 2.329 GB, free: 30.57 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/6.25, allocations: 48 kB / 2.329 GB, free: 30.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008367/6.251, allocations: 120 kB / 2.329 GB, free: 30.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004231/6.255, allocations: 1.627 MB / 2.331 GB, free: 28.77 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00461/6.26, allocations: 1.83 MB / 2.333 GB, free: 26.81 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-05/6.26, allocations: 11.84 kB / 2.333 GB, free: 26.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/6.26, allocations: 4 kB / 2.333 GB, free: 26.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-05/6.26, allocations: 40 kB / 2.333 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/6.278, allocations: 11.7 MB / 2.344 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/6.28, allocations: 1.189 MB / 2.345 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/6.281, allocations: 0.8948 MB / 2.346 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007674/6.289, allocations: 3.037 MB / 2.349 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/6.29, allocations: 0.6956 MB / 2.35 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=95): time 5.51e-06/6.29, allocations: 4 kB / 2.35 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95): time 0.02192/6.312, allocations: 3.633 MB / 2.353 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/6.312, allocations: 115.6 kB / 2.354 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/6.318, allocations: 2.224 MB / 2.356 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0006093/6.319, allocations: 29.7 kB / 2.356 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/6.32, allocations: 0.8616 MB / 2.357 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008213/6.321, allocations: 323.3 kB / 2.357 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/6.321, allocations: 0 / 2.357 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001469/6.322, allocations: 361.9 kB / 2.357 GB, free: 0.707 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/6.323, allocations: 0.6833 MB / 2.358 GB, free: 24 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4125/6.735, allocations: 1.442 MB / 2.359 GB, free: 127.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/6.738, allocations: 0.9673 MB / 2.36 GB, free: 127.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/6.738, allocations: 2.719 kB / 2.36 GB, free: 127.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.02/6.758, allocations: 3.768 MB / 2.364 GB, free: 127 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00376/6.762, allocations: 6.019 MB / 2.37 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-05/6.762, allocations: 11.19 kB / 2.37 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/6.765, allocations: 0.792 MB / 2.371 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/6.767, allocations: 285.5 kB / 2.371 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005461/6.772, allocations: 2.896 MB / 2.374 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/6.777, allocations: 265 kB / 2.374 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/6.778, allocations: 102.1 kB / 2.374 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/6.778, allocations: 2.938 kB / 2.374 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005177/6.783, allocations: 2.06 MB / 2.376 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/6.783, allocations: 15.72 kB / 2.376 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/6.784, allocations: 417.2 kB / 2.377 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/6.785, allocations: 285.9 kB / 2.377 GB, free: 119.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/6.793, allocations: 5.373 MB / 2.382 GB, free: 116.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/6.796, allocations: 184.6 kB / 2.382 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/6.796, allocations: 79.33 kB / 2.382 GB, free: 116.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007241/6.797, allocations: 160.7 kB / 2.382 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/6.797, allocations: 282.2 kB / 2.383 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/6.814, allocations: 3.462 MB / 2.386 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-05/6.814, allocations: 15.12 kB / 2.386 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/6.814, allocations: 7.672 kB / 2.386 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01498/6.829, allocations: 3.072 MB / 2.389 GB, free: 116 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/6.834, allocations: 1.942 MB / 2.391 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/6.834, allocations: 0 / 2.391 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008687/6.834, allocations: 174.8 kB / 2.391 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/6.836, allocations: 0.728 MB / 2.392 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/6.836, allocations: 28.94 kB / 2.392 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02905/6.865, allocations: 9.896 MB / 2.402 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/6.865, allocations: 3.469 kB / 2.402 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01743/6.883, allocations: 4.158 MB / 2.406 GB, free: 112.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/6.885, allocations: 0.5053 MB / 2.406 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000516/6.886, allocations: 9.891 kB / 2.406 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/6.888, allocations: 169.3 kB / 2.406 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/6.888, allocations: 80.44 kB / 2.406 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/6.888, allocations: 60.81 kB / 2.406 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002726/6.891, allocations: 1.699 MB / 2.408 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006158/6.897, allocations: 1.457 MB / 2.41 GB, free: 112.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.00243/6.9, allocations: 1.054 MB / 2.411 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006611/6.906, allocations: 3.136 MB / 2.414 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/6.906, allocations: 6.125 kB / 2.414 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002964/6.909, allocations: 1.258 MB / 2.415 GB, free: 111.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005933/6.915, allocations: 1.012 MB / 2.416 GB, free: 111.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/6.931, allocations: 4.739 MB / 2.42 GB, free: 110.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/6.933, allocations: 2.324 MB / 2.423 GB, free: 110 MB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/6.933, allocations: 1.531 kB / 2.423 GB, free: 110 MB / 0.6667 GB Notification: Performance of Templates: time 0.1447/7.078, allocations: 74.29 MB / 2.495 GB, free: 106.8 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)