Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002741/0.002741, allocations: 182.3 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6857/0.6857, allocations: 130.6 MB / 138.5 MB, free: 2.176 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.3 MB / 391.4 MB, free: 13 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.0009724/0.0009724, allocations: 108.4 kB / 473.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.132e-05/1.134e-05, allocations: 2.594 kB / 0.5479 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1846, allocations: 81.58 MB / 0.6276 GB, free: 18.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/4.695, allocations: 1.892 GB / 2.52 GB, free: 248.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/4.695, allocations: 83.98 kB / 2.52 GB, free: 248.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.025/6.721, allocations: 0.5955 GB / 3.116 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.72e-05/6.721, allocations: 30.03 kB / 3.116 GB, free: 131.8 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00305/6.724, allocations: 1.138 MB / 3.117 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/6.724, allocations: 10.17 kB / 3.117 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/6.726, allocations: 222.4 kB / 3.117 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/6.727, allocations: 0.6775 MB / 3.118 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/6.727, allocations: 23.47 kB / 3.118 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/6.728, allocations: 50.22 kB / 3.118 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001159/6.729, allocations: 0.5202 MB / 3.118 GB, free: 130.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/6.73, allocations: 0.8001 MB / 3.119 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/6.73, allocations: 3.375 kB / 3.119 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-05/6.73, allocations: 4.484 kB / 3.119 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/6.73, allocations: 28.44 kB / 3.119 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005804/6.736, allocations: 4.446 MB / 3.123 GB, free: 127.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/6.737, allocations: 446.6 kB / 3.124 GB, free: 127.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/6.737, allocations: 221 kB / 3.124 GB, free: 127.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/6.738, allocations: 104.1 kB / 3.124 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/6.738, allocations: 41.53 kB / 3.124 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 2.645e-06/6.738, allocations: 2.078 kB / 3.124 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.00336/6.741, allocations: 1.342 MB / 3.125 GB, free: 126.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/6.741, allocations: 107 kB / 3.125 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/6.742, allocations: 436 kB / 3.126 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/6.742, allocations: 27.05 kB / 3.126 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000237/6.742, allocations: 353.1 kB / 3.126 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/6.742, allocations: 163.7 kB / 3.126 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/6.742, allocations: 0 / 3.126 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001314/6.743, allocations: 371.5 kB / 3.127 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/6.743, allocations: 170 kB / 3.127 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/6.743, allocations: 400.1 kB / 3.127 GB, free: 125.6 MB / 0.6667 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.001605/6.745, allocations: 0.651 MB / 3.128 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/6.745, allocations: 3.688 kB / 3.128 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009964/6.746, allocations: 0.5791 MB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/6.746, allocations: 6.844 kB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/6.746, allocations: 8.125 kB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/6.746, allocations: 10.56 kB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/6.746, allocations: 130.8 kB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/6.746, allocations: 11.53 kB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/6.747, allocations: 36.22 kB / 3.129 GB, free: 125.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/6.747, allocations: 35.97 kB / 3.129 GB, free: 125.5 MB / 0.6667 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.0001461/6.747, allocations: 132.3 kB / 3.129 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/6.748, allocations: 69.34 kB / 3.129 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/6.748, allocations: 73.27 kB / 3.129 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/6.748, allocations: 3.938 kB / 3.129 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/6.748, allocations: 0 / 3.129 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005574/6.748, allocations: 0.6657 MB / 3.13 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/6.751, allocations: 1.471 MB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/6.751, allocations: 4.781 kB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/6.751, allocations: 101.8 kB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/6.752, allocations: 11.22 kB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/6.752, allocations: 11.98 kB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/6.752, allocations: 9.906 kB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/6.752, allocations: 2.75 kB / 3.131 GB, free: 124.3 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00121/6.753, allocations: 1.027 MB / 3.132 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/6.753, allocations: 185 kB / 3.132 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/6.753, allocations: 11.38 kB / 3.132 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005962/6.754, allocations: 28.88 kB / 3.132 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/6.754, allocations: 29.95 kB / 3.132 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/6.754, allocations: 23.17 kB / 3.132 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0004648/6.755, allocations: 331.8 kB / 3.133 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00163/6.756, allocations: 306.8 kB / 3.133 GB, free: 123.5 MB / 0.6667 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.003485/6.76, allocations: 1.881 MB / 3.135 GB, free: 123 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008/6.761, allocations: 444 kB / 3.135 GB, free: 123 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/6.761, allocations: 3.938 kB / 3.135 GB, free: 123 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/6.761, allocations: 193.2 kB / 3.136 GB, free: 123 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/6.763, allocations: 289.5 kB / 3.136 GB, free: 123 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/6.766, allocations: 1.254 MB / 3.137 GB, free: 122.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/6.767, allocations: 1.105 MB / 3.138 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/6.767, allocations: 0 / 3.138 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.04219/6.809, allocations: 20.11 MB / 3.158 GB, free: 110.5 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)