Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances") translateModel(Annex60.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances") [: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/Annex60 1.0.0/package.mo): time 0.2944/0.2944, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001313/0.001312, allocations: 185.6 kB / 75.37 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.836/1.836, allocations: 194.2 MB / 283.2 MB, free: 3.559 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001818/0.001818, allocations: 110.1 kB / 341.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.672e-06/6.692e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 57.64 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/4.957, allocations: 2.139 GB / 2.591 GB, free: 63.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/4.958, allocations: 87.95 kB / 2.591 GB, free: 63.85 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:5:26-5:49:writable] Warning: Non-array modification '"MassFraction"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:6:26-6:34:writable] Warning: Non-array modification '"1"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:7:20-7:25:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:8:20-8:25:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 2.371/7.329, allocations: 0.5967 GB / 3.188 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.58e-05/7.329, allocations: 28 kB / 3.188 GB, free: 32.12 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003248/7.332, allocations: 1.476 MB / 3.189 GB, free: 30.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/7.332, allocations: 11.97 kB / 3.189 GB, free: 30.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/7.334, allocations: 258.2 kB / 3.189 GB, free: 30.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/7.335, allocations: 0.8666 MB / 3.19 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/7.335, allocations: 32 kB / 3.19 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/7.336, allocations: 64 kB / 3.19 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/7.337, allocations: 0.9491 MB / 3.191 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/7.339, allocations: 1.169 MB / 3.192 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/7.339, allocations: 3.938 kB / 3.192 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/7.339, allocations: 4 kB / 3.192 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/7.339, allocations: 41.91 kB / 3.192 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00647/7.345, allocations: 6.124 MB / 3.198 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/7.346, allocations: 0.5693 MB / 3.199 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/7.347, allocations: 287 kB / 3.199 GB, free: 19.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/7.347, allocations: 127.9 kB / 3.199 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/7.347, allocations: 47.03 kB / 3.199 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=52): time 4.669e-06/7.347, allocations: 0 / 3.199 GB, free: 19.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.001333/7.348, allocations: 0.5918 MB / 3.2 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/7.349, allocations: 107.2 kB / 3.2 GB, free: 18.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/7.349, allocations: 0.5819 MB / 3.201 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/7.349, allocations: 29.7 kB / 3.201 GB, free: 18.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/7.35, allocations: 497.7 kB / 3.201 GB, free: 17.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/7.35, allocations: 177.4 kB / 3.201 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/7.35, allocations: 0 / 3.201 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001672/7.35, allocations: 390.8 kB / 3.202 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/7.35, allocations: 269.8 kB / 3.202 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/7.351, allocations: 0.5908 MB / 3.202 GB, free: 16.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/7.352, allocations: 412.4 kB / 3.203 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/7.352, allocations: 4 kB / 3.203 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001313/7.353, allocations: 0.8985 MB / 3.204 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/7.353, allocations: 8.781 kB / 3.204 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/7.353, allocations: 8.875 kB / 3.204 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/7.353, allocations: 17.09 kB / 3.204 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/7.354, allocations: 191.7 kB / 3.204 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/7.354, allocations: 15.94 kB / 3.204 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/7.355, allocations: 131 kB / 3.204 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/7.355, allocations: 44 kB / 3.204 GB, free: 14.31 MB / 0.4948 GB 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 (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001685/7.355, allocations: 128.7 kB / 3.204 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/7.355, allocations: 86.97 kB / 3.204 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009661/7.356, allocations: 0.6006 MB / 3.205 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/7.356, allocations: 8 kB / 3.205 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/7.356, allocations: 4 kB / 3.205 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007446/7.357, allocations: 0.506 MB / 3.205 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/7.36, allocations: 1.551 MB / 3.207 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/7.36, allocations: 4.094 kB / 3.207 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005763/7.361, allocations: 115.8 kB / 3.207 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/7.361, allocations: 4 kB / 3.207 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/7.361, allocations: 8 kB / 3.207 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/7.361, allocations: 7.969 kB / 3.207 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/7.361, allocations: 7.938 kB / 3.207 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001464/7.362, allocations: 1.144 MB / 3.208 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/7.363, allocations: 247.9 kB / 3.208 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/7.363, allocations: 11.98 kB / 3.208 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009399/7.364, allocations: 59.84 kB / 3.208 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/7.364, allocations: 28.39 kB / 3.209 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/7.364, allocations: 27.98 kB / 3.209 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006197/7.365, allocations: 447.1 kB / 3.209 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002221/7.367, allocations: 482.9 kB / 3.209 GB, free: 8.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003798/7.371, allocations: 2.12 MB / 3.211 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001148/7.372, allocations: 0.6532 MB / 3.212 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/7.372, allocations: 6.375 kB / 3.212 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/7.372, allocations: 261.5 kB / 3.212 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/7.374, allocations: 369.9 kB / 3.213 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/7.378, allocations: 1.586 MB / 3.214 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/7.379, allocations: 1.263 MB / 3.216 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of SimCode: time 2.655e-06/7.379, allocations: 0 / 3.216 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of Templates: time 0.382/7.761, allocations: 25.87 MB / 3.241 GB, free: 117 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)