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.7558/0.7558, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001429/0.001429, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001055/0.001055, allocations: 87.11 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.805e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2246, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.867/2.092, allocations: 0.563 GB / 1.184 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/2.092, allocations: 87.95 kB / 1.184 GB, free: 186.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.3429/2.435, allocations: 165.2 MB / 1.345 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001225/2.435, allocations: 27.92 kB / 1.345 GB, free: 20.09 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.002507/2.438, allocations: 0.9511 MB / 1.346 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/2.438, allocations: 16.03 kB / 1.346 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/2.441, allocations: 294.8 kB / 1.347 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/2.443, allocations: 0.7842 MB / 1.347 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/2.443, allocations: 20 kB / 1.347 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/2.443, allocations: 27.98 kB / 1.347 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006571/2.444, allocations: 282 kB / 1.348 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/2.444, allocations: 446.9 kB / 1.348 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/2.445, allocations: 3.938 kB / 1.348 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/2.445, allocations: 4 kB / 1.348 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/2.445, allocations: 12 kB / 1.348 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/2.448, allocations: 2.847 MB / 1.351 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/2.448, allocations: 161.7 kB / 1.351 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/2.448, allocations: 109.7 kB / 1.351 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/2.449, allocations: 0.6648 MB / 1.352 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/2.449, allocations: 30.56 kB / 1.352 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/2.449, allocations: 0 / 1.352 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.00537/2.454, allocations: 1.513 MB / 1.353 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/2.454, allocations: 55.41 kB / 1.353 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/2.455, allocations: 402 kB / 1.354 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/2.455, allocations: 25.7 kB / 1.354 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/2.455, allocations: 256.3 kB / 1.354 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/2.455, allocations: 122.2 kB / 1.354 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/2.455, allocations: 0 / 1.354 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001083/2.455, allocations: 362.8 kB / 1.354 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/2.456, allocations: 136.8 kB / 1.355 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/2.456, allocations: 254.1 kB / 1.355 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/2.456, allocations: 195.8 kB / 1.355 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/2.456, allocations: 0 / 1.355 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001587/2.458, allocations: 0.6459 MB / 1.356 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003112/2.458, allocations: 1.221 MB / 1.357 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/2.458, allocations: 3.938 kB / 1.357 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008751/2.459, allocations: 241.6 kB / 1.357 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/2.46, allocations: 79.89 kB / 1.357 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00449/2.464, allocations: 3.693 MB / 1.361 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/2.465, allocations: 83.88 kB / 1.361 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/2.466, allocations: 20 kB / 1.361 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/2.466, allocations: 4 kB / 1.361 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001428/2.467, allocations: 0.5438 MB / 1.361 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/2.467, allocations: 4.125 kB / 1.361 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008194/2.468, allocations: 249.7 kB / 1.362 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/2.468, allocations: 75.89 kB / 1.362 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3125/2.781, allocations: 3.686 MB / 1.365 GB, free: 224.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/2.782, allocations: 81.39 kB / 1.365 GB, free: 224.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/2.782, allocations: 19.22 kB / 1.365 GB, free: 224.8 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.0003513/2.783, allocations: 126.8 kB / 1.366 GB, free: 224.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/2.783, allocations: 57.44 kB / 1.366 GB, free: 224.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/2.785, allocations: 0.5903 MB / 1.366 GB, free: 224.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/2.785, allocations: 3.969 kB / 1.366 GB, free: 224.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/2.785, allocations: 5.562 kB / 1.366 GB, free: 224.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/2.786, allocations: 0.6735 MB / 1.367 GB, free: 224.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/2.789, allocations: 1.393 MB / 1.368 GB, free: 224.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/2.789, allocations: 0 / 1.368 GB, free: 224.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/2.79, allocations: 51.97 kB / 1.368 GB, free: 224.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/2.791, allocations: 230.2 kB / 1.368 GB, free: 224.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/2.791, allocations: 11.34 kB / 1.368 GB, free: 224.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004291/2.795, allocations: 3.45 MB / 1.372 GB, free: 221.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/2.795, allocations: 0.9375 kB / 1.372 GB, free: 221.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001882/2.797, allocations: 0.8301 MB / 1.373 GB, free: 221.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/2.797, allocations: 181.5 kB / 1.373 GB, free: 221.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/2.797, allocations: 8 kB / 1.373 GB, free: 221.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/2.798, allocations: 77.78 kB / 1.373 GB, free: 221.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/2.798, allocations: 18.02 kB / 1.373 GB, free: 221.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/2.798, allocations: 13.38 kB / 1.373 GB, free: 221.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004982/2.799, allocations: 305.5 kB / 1.373 GB, free: 221.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002088/2.801, allocations: 418.4 kB / 1.374 GB, free: 221.3 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.0007764/2.802, allocations: 319.3 kB / 1.374 GB, free: 221.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002522/2.804, allocations: 1.121 MB / 1.375 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/2.804, allocations: 0 / 1.375 GB, free: 220.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/2.806, allocations: 448.1 kB / 1.375 GB, free: 220.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/2.807, allocations: 311.7 kB / 1.376 GB, free: 220.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/2.809, allocations: 0.8877 MB / 1.377 GB, free: 220.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005944/2.81, allocations: 0.9743 MB / 1.378 GB, free: 219.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.713e-06/2.81, allocations: 0 / 1.378 GB, free: 219.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.02808/2.838, allocations: 17.72 MB / 1.395 GB, free: 219.3 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)