Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7138/0.7138, allocations: 127.4 MB / 134.6 MB, free: 4.059 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, allocations: 185.3 kB / 164.4 MB, free: 6.863 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009804/0.0009805, allocations: 90.75 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.375e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1905, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.655/1.845, allocations: 0.563 GB / 1.184 GB, free: 186.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.846, allocations: 91.94 kB / 1.184 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.3064/2.152, allocations: 165.2 MB / 1.345 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.451e-05/2.152, allocations: 23.98 kB / 1.345 GB, free: 19.92 MB / 0.6355 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.001499/2.154, allocations: 0.9511 MB / 1.346 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/2.154, allocations: 8.031 kB / 1.346 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/2.156, allocations: 294.8 kB / 1.347 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/2.158, allocations: 0.8037 MB / 1.347 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/2.158, allocations: 12 kB / 1.347 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/2.158, allocations: 28 kB / 1.347 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005014/2.158, allocations: 285.9 kB / 1.348 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/2.159, allocations: 442.9 kB / 1.348 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/2.159, allocations: 0 / 1.348 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/2.159, allocations: 0 / 1.348 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/2.159, allocations: 15.98 kB / 1.348 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/2.162, allocations: 2.85 MB / 1.351 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/2.162, allocations: 153.7 kB / 1.351 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/2.162, allocations: 121.6 kB / 1.351 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004129/2.162, allocations: 0.6531 MB / 1.352 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/2.162, allocations: 42.56 kB / 1.352 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/2.162, allocations: 3.938 kB / 1.352 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.00463/2.167, allocations: 1.501 MB / 1.353 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/2.167, allocations: 55.41 kB / 1.353 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/2.167, allocations: 410 kB / 1.354 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/2.167, allocations: 25.7 kB / 1.354 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/2.168, allocations: 256.3 kB / 1.354 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/2.168, allocations: 118.2 kB / 1.354 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/2.168, allocations: 0 / 1.354 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/2.168, allocations: 362.8 kB / 1.354 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/2.168, allocations: 136.9 kB / 1.355 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/2.168, allocations: 266 kB / 1.355 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/2.169, allocations: 183.8 kB / 1.355 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/2.169, allocations: 4 kB / 1.355 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001403/2.17, allocations: 0.6497 MB / 1.356 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/2.17, allocations: 1.213 MB / 1.357 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/2.17, allocations: 4 kB / 1.357 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008166/2.171, allocations: 249.6 kB / 1.357 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/2.172, allocations: 71.84 kB / 1.357 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/2.176, allocations: 3.69 MB / 1.361 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/2.177, allocations: 80.06 kB / 1.361 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/2.177, allocations: 19.98 kB / 1.361 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/2.177, allocations: 8.125 kB / 1.361 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/2.178, allocations: 0.5479 MB / 1.361 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/2.178, allocations: 8.031 kB / 1.361 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007486/2.179, allocations: 245.5 kB / 1.362 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/2.179, allocations: 59.91 kB / 1.362 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3125/2.492, allocations: 3.7 MB / 1.365 GB, free: 220 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/2.493, allocations: 84.23 kB / 1.365 GB, free: 220 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/2.493, allocations: 19.06 kB / 1.365 GB, free: 220 MB / 0.6355 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 (37): * Single equations (assignments): 35 * 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 7,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00028/2.493, allocations: 129.7 kB / 1.366 GB, free: 219.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/2.494, allocations: 59.62 kB / 1.366 GB, free: 219.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/2.495, allocations: 0.5832 MB / 1.366 GB, free: 219.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/2.495, allocations: 3.562 kB / 1.366 GB, free: 219.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/2.495, allocations: 5.469 kB / 1.366 GB, free: 219.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001274/2.497, allocations: 0.6709 MB / 1.367 GB, free: 219.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/2.499, allocations: 1.401 MB / 1.368 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/2.499, allocations: 3.844 kB / 1.368 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/2.499, allocations: 50.86 kB / 1.368 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000819/2.5, allocations: 226 kB / 1.368 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/2.5, allocations: 14.11 kB / 1.368 GB, free: 219.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00385/2.504, allocations: 3.448 MB / 1.372 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.504, allocations: 0 / 1.372 GB, free: 216.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001629/2.506, allocations: 0.8286 MB / 1.373 GB, free: 216.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/2.506, allocations: 182.9 kB / 1.373 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/2.506, allocations: 7.844 kB / 1.373 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/2.507, allocations: 74.75 kB / 1.373 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/2.507, allocations: 14.41 kB / 1.373 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/2.507, allocations: 15.47 kB / 1.373 GB, free: 216.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003827/2.508, allocations: 312 kB / 1.373 GB, free: 216.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001756/2.51, allocations: 420.2 kB / 1.374 GB, free: 216.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * 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 5,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006558/2.51, allocations: 314.3 kB / 1.374 GB, free: 216.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002271/2.513, allocations: 1.116 MB / 1.375 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/2.513, allocations: 0 / 1.375 GB, free: 215.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009427/2.514, allocations: 447.6 kB / 1.375 GB, free: 215.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/2.515, allocations: 307.7 kB / 1.376 GB, free: 215.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/2.517, allocations: 0.892 MB / 1.377 GB, free: 215.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/2.517, allocations: 0.9734 MB / 1.378 GB, free: 214.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.163e-06/2.517, allocations: 0 / 1.378 GB, free: 214.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.0273/2.545, allocations: 17.72 MB / 1.395 GB, free: 214.5 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)