Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.001716/0.001716, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5973/0.5973, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.103/1.103, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008571/0.0008571, allocations: 95.02 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.911e-06, allocations: 2.625 kB / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.782/2.888, allocations: 1.892 GB / 2.525 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/2.888, allocations: 91.94 kB / 2.525 GB, free: 70.08 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.797/4.685, allocations: 0.6147 GB / 3.14 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.377e-05/4.685, allocations: 22.92 kB / 3.14 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00147/4.687, allocations: 1.034 MB / 3.141 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/4.687, allocations: 7.781 kB / 3.141 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/4.687, allocations: 198.5 kB / 3.141 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/4.688, allocations: 0.5464 MB / 3.141 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/4.688, allocations: 101.4 kB / 3.141 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/4.688, allocations: 31.81 kB / 3.142 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004733/4.689, allocations: 326.1 kB / 3.142 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006622/4.69, allocations: 0.6385 MB / 3.142 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/4.69, allocations: 6.688 kB / 3.142 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/4.69, allocations: 6.656 kB / 3.142 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/4.69, allocations: 22.41 kB / 3.142 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/4.692, allocations: 4.084 MB / 3.146 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/4.692, allocations: 103.5 kB / 3.147 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/4.692, allocations: 69.44 kB / 3.147 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/4.693, allocations: 101.3 kB / 3.147 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/4.693, allocations: 36.19 kB / 3.147 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/4.693, allocations: 0 / 3.147 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004056/4.693, allocations: 164.4 kB / 3.147 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/4.693, allocations: 140.1 kB / 3.147 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/4.693, allocations: 452.4 kB / 3.147 GB, free: 120 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/4.693, allocations: 25.7 kB / 3.148 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/4.694, allocations: 354.8 kB / 3.148 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/4.694, allocations: 43.38 kB / 3.148 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/4.694, allocations: 3.844 kB / 3.148 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.811e-05/4.694, allocations: 357.5 kB / 3.148 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/4.694, allocations: 77.09 kB / 3.148 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/4.694, allocations: 319.3 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/4.694, allocations: 146.6 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.694, allocations: 2.062 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004696/4.695, allocations: 370.7 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/4.695, allocations: 7.562 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/4.695, allocations: 10.94 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/4.695, allocations: 11 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/4.695, allocations: 100.2 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/4.695, allocations: 9.688 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/4.696, allocations: 101.8 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/4.696, allocations: 27.42 kB / 3.149 GB, free: 119.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 6.693e-05/4.696, allocations: 118.7 kB / 3.149 GB, free: 119 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/4.696, allocations: 53.47 kB / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.871e-05/4.696, allocations: 51.47 kB / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/4.696, allocations: 4.781 kB / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/4.696, allocations: 0 / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/4.696, allocations: 5.406 kB / 3.15 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/4.697, allocations: 1.038 MB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/4.697, allocations: 5.672 kB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-05/4.697, allocations: 17.62 kB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/4.697, allocations: 5.375 kB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/4.697, allocations: 2.938 kB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/4.697, allocations: 2.312 kB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/4.697, allocations: 7.594 kB / 3.151 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001937/4.697, allocations: 344.3 kB / 3.151 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/4.697, allocations: 145.8 kB / 3.151 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/4.697, allocations: 3.938 kB / 3.151 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/4.698, allocations: 27.61 kB / 3.151 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/4.698, allocations: 5.984 kB / 3.151 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/4.698, allocations: 3.656 kB / 3.151 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002743/4.698, allocations: 342.6 kB / 3.151 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007711/4.699, allocations: 307.7 kB / 3.152 GB, free: 117.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001849/4.701, allocations: 1.939 MB / 3.154 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002652/4.701, allocations: 195 kB / 3.154 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/4.701, allocations: 3.125 kB / 3.154 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/4.701, allocations: 44.02 kB / 3.154 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/4.702, allocations: 191.2 kB / 3.154 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/4.703, allocations: 0.7159 MB / 3.155 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/4.703, allocations: 0.9877 MB / 3.156 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/4.703, allocations: 0 / 3.156 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.02213/4.725, allocations: 16.63 MB / 3.172 GB, free: 115.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)