Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") [: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.004733/0.004733, allocations: 176.1 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 130.6 MB / 138.5 MB, free: 2.152 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.799/1.799, allocations: 221.3 MB / 391.4 MB, free: 13.03 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.001139/0.001139, allocations: 93.38 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.07e-05/1.073e-05, allocations: 2.094 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2267, allocations: 81.58 MB / 0.6276 GB, free: 18.19 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.524/1.751, allocations: 0.5758 GB / 1.203 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.751, allocations: 86.64 kB / 1.203 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.7195/2.471, allocations: 164.4 MB / 1.364 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.196e-05/2.471, allocations: 27.98 kB / 1.364 GB, free: 112.6 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001967/2.473, allocations: 0.9428 MB / 1.365 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/2.473, allocations: 8.031 kB / 1.365 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002745/2.476, allocations: 298.7 kB / 1.365 GB, free: 111.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/2.478, allocations: 0.7022 MB / 1.366 GB, free: 110.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/2.478, allocations: 12 kB / 1.366 GB, free: 110.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/2.478, allocations: 31.91 kB / 1.366 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006531/2.479, allocations: 293.9 kB / 1.366 GB, free: 110.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/2.479, allocations: 443 kB / 1.367 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/2.479, allocations: 8 kB / 1.367 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/2.479, allocations: 0 / 1.367 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/2.479, allocations: 12 kB / 1.367 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/2.482, allocations: 2.741 MB / 1.369 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/2.483, allocations: 200.2 kB / 1.37 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/2.483, allocations: 139.5 kB / 1.37 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004102/2.483, allocations: 0.6573 MB / 1.37 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/2.483, allocations: 38.8 kB / 1.37 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 2.465e-06/2.483, allocations: 0 / 1.37 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.005432/2.489, allocations: 1.668 MB / 1.372 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/2.489, allocations: 89.08 kB / 1.372 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/2.489, allocations: 406.3 kB / 1.372 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/2.489, allocations: 25.7 kB / 1.372 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/2.49, allocations: 256.3 kB / 1.373 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/2.49, allocations: 138 kB / 1.373 GB, free: 103 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/2.49, allocations: 0 / 1.373 GB, free: 103 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.00011/2.49, allocations: 358.8 kB / 1.373 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/2.49, allocations: 149 kB / 1.373 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/2.49, allocations: 258.6 kB / 1.374 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/2.491, allocations: 203.8 kB / 1.374 GB, free: 102 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/2.491, allocations: 3.906 kB / 1.374 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001524/2.492, allocations: 0.6656 MB / 1.374 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002616/2.493, allocations: 1.225 MB / 1.376 GB, free: 99.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/2.493, allocations: 0 / 1.376 GB, free: 99.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/2.494, allocations: 281.4 kB / 1.376 GB, free: 99.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/2.494, allocations: 67.89 kB / 1.376 GB, free: 99.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004585/2.498, allocations: 3.846 MB / 1.38 GB, free: 95.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/2.5, allocations: 71.89 kB / 1.38 GB, free: 95.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/2.5, allocations: 19.98 kB / 1.38 GB, free: 95.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/2.5, allocations: 7.906 kB / 1.38 GB, free: 95.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/2.501, allocations: 0.5795 MB / 1.38 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/2.501, allocations: 4 kB / 1.38 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008276/2.502, allocations: 257.5 kB / 1.381 GB, free: 94.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/2.502, allocations: 71.91 kB / 1.381 GB, free: 94.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/2.507, allocations: 3.858 MB / 1.384 GB, free: 90.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/2.508, allocations: 75.83 kB / 1.385 GB, free: 90.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/2.508, allocations: 27.97 kB / 1.385 GB, free: 90.31 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000254/2.508, allocations: 113 kB / 1.385 GB, free: 90.19 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/2.509, allocations: 59.25 kB / 1.385 GB, free: 90.13 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/2.51, allocations: 0.6137 MB / 1.385 GB, free: 89.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/2.51, allocations: 7.984 kB / 1.385 GB, free: 89.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/2.51, allocations: 0 / 1.385 GB, free: 89.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/2.512, allocations: 0.6979 MB / 1.386 GB, free: 88.74 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/2.515, allocations: 1.57 MB / 1.388 GB, free: 87.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.515, allocations: 8.031 kB / 1.388 GB, free: 87.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/2.515, allocations: 47.97 kB / 1.388 GB, free: 87.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008396/2.516, allocations: 249.4 kB / 1.388 GB, free: 86.81 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/2.516, allocations: 7.984 kB / 1.388 GB, free: 86.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/2.52, allocations: 3.637 MB / 1.391 GB, free: 82.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/2.52, allocations: 3.984 kB / 1.391 GB, free: 82.93 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/2.522, allocations: 0.8898 MB / 1.392 GB, free: 82.01 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/2.522, allocations: 196.2 kB / 1.392 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/2.522, allocations: 0 / 1.392 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/2.523, allocations: 63.98 kB / 1.392 GB, free: 81.74 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/2.523, allocations: 31.86 kB / 1.393 GB, free: 81.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/2.523, allocations: 11.94 kB / 1.393 GB, free: 81.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003861/2.524, allocations: 318.9 kB / 1.393 GB, free: 81.39 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001981/2.526, allocations: 439.8 kB / 1.393 GB, free: 80.96 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007179/2.527, allocations: 324.7 kB / 1.394 GB, free: 80.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002507/2.529, allocations: 1.163 MB / 1.395 GB, free: 79.44 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/2.529, allocations: 0 / 1.395 GB, free: 79.44 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/2.53, allocations: 483.6 kB / 1.395 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/2.532, allocations: 316.9 kB / 1.395 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/2.534, allocations: 0.9381 MB / 1.396 GB, free: 77.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005336/2.535, allocations: 0.9809 MB / 1.397 GB, free: 76.66 MB / 0.6667 GB Notification: Performance of SimCode: time 8.51e-07/2.535, allocations: 0 / 1.397 GB, free: 76.66 MB / 0.6667 GB Notification: Performance of Templates: time 0.02874/2.563, allocations: 18.44 MB / 1.415 GB, free: 58.37 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)