Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [: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.002194/0.002194, allocations: 179.5 kB / 7.454 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6044/0.6044, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.136/1.136, allocations: 221.3 MB / 395 MB, free: 10.21 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.000836/0.000836, allocations: 97.59 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.811e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.522/2.627, allocations: 1.885 GB / 2.518 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/2.627, allocations: 92.64 kB / 2.518 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.027/4.655, allocations: 0.7571 GB / 3.275 GB, free: 99.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.247e-05/4.655, allocations: 39.67 kB / 3.275 GB, free: 99.68 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002431/4.657, allocations: 1.538 MB / 3.276 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/4.657, allocations: 8.688 kB / 3.276 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/4.66, allocations: 0.511 MB / 3.277 GB, free: 97.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/4.662, allocations: 1.138 MB / 3.278 GB, free: 96.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/4.662, allocations: 36 kB / 3.278 GB, free: 96.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/4.662, allocations: 71.06 kB / 3.278 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/4.664, allocations: 0.957 MB / 3.279 GB, free: 95.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/4.665, allocations: 1.066 MB / 3.28 GB, free: 94.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/4.665, allocations: 0 / 3.28 GB, free: 94.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/4.665, allocations: 7.906 kB / 3.28 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/4.665, allocations: 42.08 kB / 3.28 GB, free: 94.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/4.67, allocations: 3.979 MB / 3.284 GB, free: 90.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/4.671, allocations: 0.7969 MB / 3.285 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/4.671, allocations: 457.1 kB / 3.285 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/4.672, allocations: 295.8 kB / 3.286 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/4.672, allocations: 50.66 kB / 3.286 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 2.034e-06/4.672, allocations: 0 / 3.286 GB, free: 88.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.004017/4.676, allocations: 2.151 MB / 3.288 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/4.676, allocations: 67.69 kB / 3.288 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005873/4.676, allocations: 0.5969 MB / 3.288 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/4.676, allocations: 25.7 kB / 3.288 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/4.677, allocations: 411.7 kB / 3.289 GB, free: 85.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/4.677, allocations: 307.4 kB / 3.289 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/4.677, allocations: 0 / 3.289 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/4.677, allocations: 345.8 kB / 3.289 GB, free: 84.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/4.677, allocations: 321.2 kB / 3.29 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/4.678, allocations: 479.7 kB / 3.29 GB, free: 83.63 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: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004115/4.682, allocations: 2.189 MB / 3.292 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/4.682, allocations: 0 / 3.292 GB, free: 81.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00109/4.683, allocations: 0.9143 MB / 3.293 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/4.683, allocations: 9.562 kB / 3.293 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/4.683, allocations: 0 / 3.293 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/4.683, allocations: 8 kB / 3.293 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/4.684, allocations: 186.6 kB / 3.293 GB, free: 80.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/4.684, allocations: 11.98 kB / 3.293 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009878/4.685, allocations: 47.31 kB / 3.293 GB, free: 80.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/4.685, allocations: 32 kB / 3.293 GB, free: 80.23 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0001575/4.685, allocations: 139.9 kB / 3.294 GB, free: 80.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/4.685, allocations: 109.6 kB / 3.294 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/4.685, allocations: 126.4 kB / 3.294 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/4.685, allocations: 8 kB / 3.294 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/4.685, allocations: 0 / 3.294 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/4.686, allocations: 1.039 MB / 3.295 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/4.69, allocations: 2.842 MB / 3.298 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/4.69, allocations: 8 kB / 3.298 GB, free: 75.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/4.691, allocations: 167.7 kB / 3.298 GB, free: 75.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/4.691, allocations: 116.2 kB / 3.298 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/4.691, allocations: 16 kB / 3.298 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/4.693, allocations: 2.781 MB / 3.301 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/4.693, allocations: 15.94 kB / 3.301 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001785/4.695, allocations: 2.161 MB / 3.303 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/4.695, allocations: 283.8 kB / 3.303 GB, free: 69.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/4.695, allocations: 19.91 kB / 3.303 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/4.696, allocations: 54.95 kB / 3.303 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/4.696, allocations: 75.33 kB / 3.303 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/4.696, allocations: 45.95 kB / 3.303 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004459/4.697, allocations: 467.1 kB / 3.304 GB, free: 69.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001387/4.698, allocations: 471.9 kB / 3.304 GB, free: 68.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/4.7, allocations: 1.877 MB / 3.306 GB, free: 67.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009481/4.701, allocations: 0.7752 MB / 3.307 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/4.701, allocations: 0 / 3.307 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/4.701, allocations: 0.6196 MB / 3.307 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/4.704, allocations: 0.6507 MB / 3.308 GB, free: 65.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/4.707, allocations: 2.201 MB / 3.31 GB, free: 62.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008118/4.708, allocations: 1.37 MB / 3.311 GB, free: 61.31 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/4.708, allocations: 0 / 3.311 GB, free: 61.31 MB / 0.6823 GB Notification: Performance of Templates: time 0.03862/4.746, allocations: 30.77 MB / 3.341 GB, free: 31.05 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)