Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [: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.002215/0.002215, allocations: 173.7 kB / 7.458 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5997/0.5997, 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.14/1.14, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008921/0.000892, allocations: 98.59 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.322e-06, allocations: 0 / 0.5528 GB, free: 68.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 82.31 MB / 0.6332 GB, free: 2.414 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.907/3.034, allocations: 1.879 GB / 2.512 GB, free: 243.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001693/3.034, allocations: 83.95 kB / 2.512 GB, free: 243.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.8095/3.844, allocations: 359.6 MB / 2.864 GB, free: 170.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.604e-05/3.844, allocations: 24 kB / 2.864 GB, free: 170.5 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001464/3.845, allocations: 0.971 MB / 2.865 GB, free: 169.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/3.845, allocations: 8.031 kB / 2.865 GB, free: 169.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/3.847, allocations: 282.7 kB / 2.865 GB, free: 169.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/3.848, allocations: 0.7225 MB / 2.866 GB, free: 168.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/3.848, allocations: 27.98 kB / 2.866 GB, free: 168.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/3.848, allocations: 36 kB / 2.866 GB, free: 168.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006429/3.849, allocations: 462.5 kB / 2.866 GB, free: 167.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/3.85, allocations: 483.9 kB / 2.867 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/3.85, allocations: 0 / 2.867 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/3.85, allocations: 0 / 2.867 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/3.85, allocations: 25.22 kB / 2.867 GB, free: 167.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/3.852, allocations: 2.267 MB / 2.869 GB, free: 165 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/3.852, allocations: 302.6 kB / 2.869 GB, free: 164.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/3.853, allocations: 200.8 kB / 2.869 GB, free: 164.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/3.853, allocations: 101.8 kB / 2.869 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/3.853, allocations: 38.56 kB / 2.869 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 1.403e-06/3.853, allocations: 0 / 2.869 GB, free: 164.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001976/3.855, allocations: 1.21 MB / 2.871 GB, free: 163.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/3.855, allocations: 55.84 kB / 2.871 GB, free: 163 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/3.855, allocations: 394.1 kB / 2.871 GB, free: 162.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/3.855, allocations: 25.7 kB / 2.871 GB, free: 162.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/3.855, allocations: 256.3 kB / 2.871 GB, free: 162.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/3.855, allocations: 161.5 kB / 2.871 GB, free: 162.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/3.855, allocations: 0 / 2.871 GB, free: 162.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/3.855, allocations: 370.8 kB / 2.872 GB, free: 161.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/3.856, allocations: 165 kB / 2.872 GB, free: 161.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/3.856, allocations: 236.1 kB / 2.872 GB, free: 161.4 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/3.858, allocations: 1.023 MB / 2.873 GB, free: 160.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/3.858, allocations: 4 kB / 2.873 GB, free: 160.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005325/3.858, allocations: 482.5 kB / 2.874 GB, free: 159.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/3.858, allocations: 7.984 kB / 2.874 GB, free: 159.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/3.858, allocations: 3.984 kB / 2.874 GB, free: 159.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/3.858, allocations: 8.156 kB / 2.874 GB, free: 159.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/3.859, allocations: 95.84 kB / 2.874 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/3.859, allocations: 4 kB / 2.874 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/3.859, allocations: 27.81 kB / 2.874 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/3.86, allocations: 23.91 kB / 2.874 GB, free: 159.7 MB / 0.7292 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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 8.537e-05/3.86, allocations: 112.9 kB / 2.874 GB, free: 159.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/3.86, allocations: 63.25 kB / 2.874 GB, free: 159.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/3.86, allocations: 69.59 kB / 2.874 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/3.86, allocations: 7.938 kB / 2.874 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/3.86, allocations: 3.938 kB / 2.874 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004274/3.86, allocations: 490 kB / 2.874 GB, free: 158.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/3.862, allocations: 1.445 MB / 2.876 GB, free: 157.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/3.862, allocations: 4 kB / 2.876 GB, free: 157.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/3.862, allocations: 123.9 kB / 2.876 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/3.862, allocations: 8 kB / 2.876 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/3.862, allocations: 12 kB / 2.876 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/3.862, allocations: 11.94 kB / 2.876 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/3.862, allocations: 4.062 kB / 2.876 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007792/3.863, allocations: 1.139 MB / 2.877 GB, free: 155.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/3.863, allocations: 192.3 kB / 2.877 GB, free: 155.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.508e-05/3.864, allocations: 15.98 kB / 2.877 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005282/3.864, allocations: 27.83 kB / 2.877 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/3.864, allocations: 39.88 kB / 2.877 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/3.864, allocations: 27.92 kB / 2.877 GB, free: 155.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002195/3.864, allocations: 302.9 kB / 2.878 GB, free: 155.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006402/3.865, allocations: 248 kB / 2.878 GB, free: 155 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[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.001015/3.866, allocations: 1.205 MB / 2.879 GB, free: 153.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000477/3.867, allocations: 408.5 kB / 2.88 GB, free: 153.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/3.867, allocations: 4 kB / 2.88 GB, free: 153.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/3.867, allocations: 233 kB / 2.88 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/3.868, allocations: 390.8 kB / 2.88 GB, free: 152.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/3.87, allocations: 1.217 MB / 2.881 GB, free: 151.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/3.87, allocations: 1.054 MB / 2.882 GB, free: 150.6 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/3.87, allocations: 4 kB / 2.882 GB, free: 150.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.02157/3.892, allocations: 18.07 MB / 2.9 GB, free: 132.7 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)