Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002026/0.002026, 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.5946/0.5946, 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.12/1.12, 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.0008427/0.0008429, allocations: 106.3 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.7e-06, allocations: 2.406 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8312/0.9399, allocations: 0.576 GB / 1.209 GB, free: 23.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.9402, allocations: 87.02 kB / 1.209 GB, free: 23.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.5111/1.451, allocations: 164.4 MB / 1.37 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.411e-05/1.451, allocations: 27.84 kB / 1.37 GB, free: 133.2 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001164/1.453, allocations: 0.9466 MB / 1.371 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/1.453, allocations: 8.031 kB / 1.371 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.455, allocations: 298.7 kB / 1.371 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.456, allocations: 0.6942 MB / 1.372 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.456, allocations: 19.94 kB / 1.372 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/1.456, allocations: 35.91 kB / 1.372 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004428/1.456, allocations: 289.9 kB / 1.372 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/1.457, allocations: 443 kB / 1.373 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.457, allocations: 3.938 kB / 1.373 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/1.457, allocations: 0 / 1.373 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/1.457, allocations: 12 kB / 1.373 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/1.459, allocations: 2.734 MB / 1.375 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/1.459, allocations: 204.3 kB / 1.375 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/1.459, allocations: 126.2 kB / 1.376 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/1.46, allocations: 0.6686 MB / 1.376 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/1.46, allocations: 38.8 kB / 1.376 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/1.46, allocations: 0 / 1.376 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.004386/1.464, allocations: 1.667 MB / 1.378 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/1.464, allocations: 85.14 kB / 1.378 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/1.465, allocations: 402.3 kB / 1.378 GB, free: 124 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/1.465, allocations: 29.7 kB / 1.378 GB, free: 124 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/1.465, allocations: 252.3 kB / 1.379 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/1.465, allocations: 130 kB / 1.379 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/1.465, allocations: 0 / 1.379 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/1.465, allocations: 370.8 kB / 1.379 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.465, allocations: 137 kB / 1.379 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/1.465, allocations: 274.5 kB / 1.379 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/1.466, allocations: 191.8 kB / 1.38 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.466, allocations: 11.91 kB / 1.38 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001379/1.467, allocations: 0.6655 MB / 1.38 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.467, allocations: 1.221 MB / 1.381 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.467, allocations: 4 kB / 1.381 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008023/1.468, allocations: 265.5 kB / 1.382 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.468, allocations: 71.84 kB / 1.382 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/1.472, allocations: 3.854 MB / 1.386 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/1.473, allocations: 79.81 kB / 1.386 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/1.473, allocations: 19.98 kB / 1.386 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/1.473, allocations: 7.906 kB / 1.386 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/1.475, allocations: 0.5831 MB / 1.386 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/1.475, allocations: 0 / 1.386 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000753/1.475, allocations: 253.7 kB / 1.386 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/1.476, allocations: 71.91 kB / 1.387 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/1.48, allocations: 3.862 MB / 1.39 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009761/1.481, allocations: 83.81 kB / 1.39 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/1.481, allocations: 16 kB / 1.39 GB, free: 111 MB / 0.6823 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.0001616/1.481, allocations: 121.7 kB / 1.391 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.481, allocations: 59.25 kB / 1.391 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.482, allocations: 0.6135 MB / 1.391 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.482, allocations: 4 kB / 1.391 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/1.482, allocations: 3.938 kB / 1.391 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/1.484, allocations: 0.7059 MB / 1.392 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/1.486, allocations: 1.566 MB / 1.393 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.486, allocations: 0 / 1.393 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/1.486, allocations: 51.91 kB / 1.393 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007937/1.487, allocations: 237.5 kB / 1.394 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/1.487, allocations: 11.98 kB / 1.394 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/1.491, allocations: 3.628 MB / 1.397 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/1.491, allocations: 0 / 1.397 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001488/1.492, allocations: 0.8966 MB / 1.398 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/1.492, allocations: 188.3 kB / 1.398 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/1.492, allocations: 8.172 kB / 1.398 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/1.493, allocations: 63.98 kB / 1.398 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/1.493, allocations: 27.88 kB / 1.398 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/1.494, allocations: 19.98 kB / 1.398 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002831/1.494, allocations: 310.9 kB / 1.399 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001543/1.495, allocations: 439.9 kB / 1.399 GB, free: 101.7 MB / 0.6823 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.0005057/1.496, allocations: 322 kB / 1.399 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.498, allocations: 1.167 MB / 1.401 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.498, allocations: 0 / 1.401 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009778/1.499, allocations: 479.5 kB / 1.401 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.5, allocations: 321 kB / 1.401 GB, free: 99.36 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/1.502, allocations: 0.9339 MB / 1.402 GB, free: 98.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/1.502, allocations: 0.9741 MB / 1.403 GB, free: 97.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.502, allocations: 0 / 1.403 GB, free: 97.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02136/1.524, allocations: 18.46 MB / 1.421 GB, free: 79.16 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)