Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 184.1 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.603/0.603, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008163/0.0008164, allocations: 103.3 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.883e-06, allocations: 2.281 kB / 0.5528 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 82.3 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.611/2.735, allocations: 1.935 GB / 2.568 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/2.735, allocations: 87.95 kB / 2.568 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.782/4.517, allocations: 0.6646 GB / 3.233 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001247/4.517, allocations: 30.62 kB / 3.233 GB, free: 124.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003377/4.52, allocations: 1.315 MB / 3.234 GB, free: 124 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/4.521, allocations: 9 kB / 3.234 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/4.522, allocations: 269.7 kB / 3.234 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/4.525, allocations: 1.114 MB / 3.235 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/4.525, allocations: 36.47 kB / 3.235 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/4.525, allocations: 56.72 kB / 3.235 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/4.527, allocations: 0.7753 MB / 3.236 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/4.528, allocations: 0.9951 MB / 3.237 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/4.528, allocations: 9.703 kB / 3.237 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/4.528, allocations: 2.188 kB / 3.237 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/4.528, allocations: 36.77 kB / 3.237 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005228/4.534, allocations: 5.674 MB / 3.243 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/4.534, allocations: 0.5192 MB / 3.243 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/4.535, allocations: 307.7 kB / 3.244 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004738/4.535, allocations: 313.2 kB / 3.244 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/4.535, allocations: 47.12 kB / 3.244 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 2.073e-06/4.535, allocations: 0 / 3.244 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001342/4.537, allocations: 0.6072 MB / 3.245 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/4.537, allocations: 56.03 kB / 3.245 GB, free: 119 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/4.537, allocations: 0.5217 MB / 3.245 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/4.537, allocations: 25.7 kB / 3.245 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/4.538, allocations: 426.9 kB / 3.246 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/4.538, allocations: 173.5 kB / 3.246 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/4.538, allocations: 3.625 kB / 3.246 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/4.538, allocations: 379.9 kB / 3.246 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/4.538, allocations: 229.6 kB / 3.246 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/4.538, allocations: 0.5613 MB / 3.247 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/4.539, allocations: 372.9 kB / 3.247 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/4.539, allocations: 3.906 kB / 3.247 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001005/4.54, allocations: 0.7852 MB / 3.248 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/4.54, allocations: 3.812 kB / 3.248 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/4.54, allocations: 7.656 kB / 3.248 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/4.54, allocations: 18.75 kB / 3.248 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/4.541, allocations: 156.4 kB / 3.248 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/4.541, allocations: 18.5 kB / 3.248 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/4.541, allocations: 107.1 kB / 3.248 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/4.541, allocations: 38.61 kB / 3.248 GB, free: 117.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.000109/4.542, allocations: 128 kB / 3.248 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/4.542, allocations: 78.38 kB / 3.248 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000835/4.543, allocations: 0.6066 MB / 3.249 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/4.543, allocations: 5.812 kB / 3.249 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/4.543, allocations: 0 / 3.249 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006297/4.543, allocations: 0.5191 MB / 3.25 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/4.545, allocations: 1.557 MB / 3.251 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/4.545, allocations: 2.406 kB / 3.251 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/4.546, allocations: 109.7 kB / 3.251 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/4.546, allocations: 3.719 kB / 3.251 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/4.546, allocations: 10.22 kB / 3.251 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/4.546, allocations: 9.438 kB / 3.251 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/4.546, allocations: 9.531 kB / 3.251 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00125/4.547, allocations: 1.117 MB / 3.252 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/4.548, allocations: 215.4 kB / 3.253 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/4.548, allocations: 6.344 kB / 3.253 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/4.548, allocations: 57.61 kB / 3.253 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/4.548, allocations: 32.92 kB / 3.253 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/4.548, allocations: 17.19 kB / 3.253 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000404/4.549, allocations: 403.9 kB / 3.253 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00118/4.55, allocations: 438.2 kB / 3.253 GB, free: 114.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.002706/4.553, allocations: 2.135 MB / 3.256 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007551/4.553, allocations: 0.5712 MB / 3.256 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/4.554, allocations: 1.25 kB / 3.256 GB, free: 114 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/4.554, allocations: 261.2 kB / 3.256 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/4.555, allocations: 355.8 kB / 3.257 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/4.558, allocations: 1.5 MB / 3.258 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008781/4.559, allocations: 1.218 MB / 3.259 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.7e-07/4.559, allocations: 0 / 3.259 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.03278/4.592, allocations: 23.96 MB / 3.283 GB, free: 94.03 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)