Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.00289/0.00289, allocations: 184.4 kB / 7.463 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.6056/0.6056, 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.121/1.121, allocations: 221.3 MB / 395 MB, free: 10.14 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.0008115/0.0008115, allocations: 102.7 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.543e-06, allocations: 2.594 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.881/2.993, allocations: 1.882 GB / 2.515 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/2.994, allocations: 83.95 kB / 2.515 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.492/4.486, allocations: 0.5714 GB / 3.087 GB, free: 35.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.739e-05/4.486, allocations: 31.98 kB / 3.087 GB, free: 35.19 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002574/4.489, allocations: 1.241 MB / 3.088 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/4.489, allocations: 8.031 kB / 3.088 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/4.491, allocations: 342.3 kB / 3.088 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/4.492, allocations: 0.812 MB / 3.089 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/4.492, allocations: 113.9 kB / 3.089 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/4.493, allocations: 48 kB / 3.089 GB, free: 32.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001137/4.494, allocations: 0.699 MB / 3.09 GB, free: 31.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/4.495, allocations: 0.8864 MB / 3.091 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/4.495, allocations: 3.938 kB / 3.091 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/4.495, allocations: 0 / 3.091 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/4.495, allocations: 41.89 kB / 3.091 GB, free: 30.87 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/4.5, allocations: 3.9 MB / 3.095 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/4.5, allocations: 378.8 kB / 3.095 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/4.5, allocations: 193.6 kB / 3.095 GB, free: 26.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/4.5, allocations: 109.1 kB / 3.095 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/4.5, allocations: 38.56 kB / 3.095 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/4.501, allocations: 0 / 3.095 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.001966/4.502, allocations: 1.116 MB / 3.096 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.599e-05/4.502, allocations: 55.41 kB / 3.096 GB, free: 24.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/4.503, allocations: 0.5661 MB / 3.097 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/4.503, allocations: 29.7 kB / 3.097 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/4.503, allocations: 410.4 kB / 3.097 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/4.503, allocations: 134 kB / 3.098 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/4.503, allocations: 0 / 3.098 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/4.503, allocations: 378.8 kB / 3.098 GB, free: 23.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/4.504, allocations: 193.2 kB / 3.098 GB, free: 23.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/4.504, allocations: 385 kB / 3.098 GB, free: 22.59 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/4.506, allocations: 0.72 MB / 3.099 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/4.506, allocations: 4 kB / 3.099 GB, free: 21.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008057/4.506, allocations: 0.6287 MB / 3.1 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/4.506, allocations: 4 kB / 3.1 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/4.506, allocations: 4 kB / 3.1 GB, free: 21.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/4.506, allocations: 8 kB / 3.1 GB, free: 21.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/4.507, allocations: 148.4 kB / 3.1 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/4.507, allocations: 11.94 kB / 3.1 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/4.508, allocations: 91.69 kB / 3.1 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/4.508, allocations: 31.92 kB / 3.1 GB, free: 20.92 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001152/4.508, allocations: 125.5 kB / 3.1 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/4.508, allocations: 75.16 kB / 3.1 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/4.508, allocations: 74.7 kB / 3.1 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/4.508, allocations: 4 kB / 3.1 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/4.508, allocations: 7.984 kB / 3.1 GB, free: 20.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004305/4.509, allocations: 0.6401 MB / 3.101 GB, free: 19.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/4.511, allocations: 1.448 MB / 3.102 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/4.511, allocations: 4 kB / 3.102 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/4.511, allocations: 88.39 kB / 3.103 GB, free: 18.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/4.511, allocations: 11.98 kB / 3.103 GB, free: 18.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/4.511, allocations: 11.91 kB / 3.103 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/4.511, allocations: 7.938 kB / 3.103 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/4.511, allocations: 4 kB / 3.103 GB, free: 18.23 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008248/4.512, allocations: 0.9888 MB / 3.104 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/4.512, allocations: 216.1 kB / 3.104 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/4.512, allocations: 15.98 kB / 3.104 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/4.513, allocations: 55.8 kB / 3.104 GB, free: 16.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/4.513, allocations: 27.91 kB / 3.104 GB, free: 16.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/4.513, allocations: 27.98 kB / 3.104 GB, free: 16.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003959/4.513, allocations: 439.1 kB / 3.104 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009299/4.514, allocations: 335.9 kB / 3.105 GB, free: 15.97 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001502/4.516, allocations: 1.507 MB / 3.106 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005328/4.516, allocations: 444.7 kB / 3.106 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/4.516, allocations: 4 kB / 3.106 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/4.517, allocations: 175.8 kB / 3.107 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/4.518, allocations: 399.2 kB / 3.107 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/4.52, allocations: 1.353 MB / 3.108 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/4.521, allocations: 1.192 MB / 3.11 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/4.521, allocations: 0 / 3.11 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.237/4.758, allocations: 21.04 MB / 3.13 GB, free: 202.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)