Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [: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.002099/0.002099, allocations: 183.6 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.5925/0.5925, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.11/1.11, allocations: 221.4 MB / 395 MB, free: 10.25 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.0008472/0.0008472, allocations: 98.83 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.471e-06, allocations: 0 / 0.5528 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.793/2.903, allocations: 1.893 GB / 2.526 GB, free: 69.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/2.903, allocations: 87.89 kB / 2.526 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.479/4.382, allocations: 0.5955 GB / 3.121 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.003e-05/4.382, allocations: 27.98 kB / 3.121 GB, free: 1.59 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00161/4.384, allocations: 1.134 MB / 3.123 GB, free: 420 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/4.384, allocations: 12.03 kB / 3.123 GB, free: 408 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/4.385, allocations: 226.6 kB / 3.123 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.206/4.591, allocations: 0.6708 MB / 3.123 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/4.591, allocations: 24.62 kB / 3.123 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/4.591, allocations: 48.28 kB / 3.124 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/4.592, allocations: 0.5187 MB / 3.124 GB, free: 186.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/4.593, allocations: 0.7934 MB / 3.125 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/4.593, allocations: 6.156 kB / 3.125 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/4.593, allocations: 10.03 kB / 3.125 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/4.594, allocations: 25.66 kB / 3.125 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/4.597, allocations: 4.445 MB / 3.129 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/4.598, allocations: 441.2 kB / 3.13 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/4.598, allocations: 223.7 kB / 3.13 GB, free: 183 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/4.598, allocations: 110.2 kB / 3.13 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/4.598, allocations: 38.66 kB / 3.13 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/4.598, allocations: 3 kB / 3.13 GB, free: 182.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002105/4.6, allocations: 1.337 MB / 3.131 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/4.6, allocations: 106.8 kB / 3.131 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/4.601, allocations: 442.8 kB / 3.132 GB, free: 182 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/4.601, allocations: 25.7 kB / 3.132 GB, free: 182 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/4.601, allocations: 354.5 kB / 3.132 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/4.601, allocations: 156.1 kB / 3.132 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/4.601, allocations: 0 / 3.132 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/4.601, allocations: 372.6 kB / 3.133 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/4.601, allocations: 170 kB / 3.133 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/4.602, allocations: 397 kB / 3.133 GB, free: 181.2 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/4.603, allocations: 0.6539 MB / 3.134 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/4.603, allocations: 0 / 3.134 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006736/4.604, allocations: 0.5804 MB / 3.134 GB, free: 181 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/4.604, allocations: 3.938 kB / 3.134 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/4.604, allocations: 13.56 kB / 3.134 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/4.604, allocations: 10.81 kB / 3.134 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/4.604, allocations: 132.5 kB / 3.135 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/4.604, allocations: 7.812 kB / 3.135 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/4.605, allocations: 36.14 kB / 3.135 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/4.605, allocations: 30.25 kB / 3.135 GB, free: 181 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001007/4.605, allocations: 133.6 kB / 3.135 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/4.605, allocations: 71.5 kB / 3.135 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/4.605, allocations: 73.12 kB / 3.135 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/4.605, allocations: 3.719 kB / 3.135 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/4.605, allocations: 0 / 3.135 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004553/4.605, allocations: 0.6615 MB / 3.136 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/4.607, allocations: 1.478 MB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/4.607, allocations: 3.906 kB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/4.608, allocations: 108 kB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/4.608, allocations: 5.75 kB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/4.608, allocations: 8.562 kB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/4.608, allocations: 7.688 kB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/4.608, allocations: 5.281 kB / 3.137 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000786/4.608, allocations: 1.024 MB / 3.138 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/4.609, allocations: 183.4 kB / 3.138 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/4.609, allocations: 12.09 kB / 3.138 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/4.609, allocations: 33.17 kB / 3.138 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/4.609, allocations: 35.8 kB / 3.138 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/4.609, allocations: 17.5 kB / 3.138 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002603/4.609, allocations: 334.8 kB / 3.139 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008542/4.61, allocations: 300.4 kB / 3.139 GB, free: 179.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.001728/4.612, allocations: 1.884 MB / 3.141 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005365/4.613, allocations: 442.2 kB / 3.141 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/4.613, allocations: 0 / 3.141 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/4.613, allocations: 196.2 kB / 3.141 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/4.614, allocations: 300.1 kB / 3.142 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/4.616, allocations: 1.248 MB / 3.143 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/4.616, allocations: 1.104 MB / 3.144 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/4.616, allocations: 0 / 3.144 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.02573/4.642, allocations: 20.1 MB / 3.164 GB, free: 177.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)