Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.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.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.829/0.829, allocations: 127.4 MB / 134.9 MB, free: 3.508 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.001076/0.001076, allocations: 166.9 kB / 164.6 MB, free: 11.59 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.6/1.6, allocations: 205.2 MB / 399.5 MB, free: 13.46 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.0008978/0.0008979, allocations: 96.42 kB / 476.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.408e-05, allocations: 2.812 kB / 0.5465 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1653, allocations: 76.77 MB / 0.6215 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7622/0.9275, allocations: 322.7 MB / 0.9367 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9278, allocations: 76.02 kB / 0.9367 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5601/1.488, allocations: 99.8 MB / 1.034 GB, free: 229.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/1.488, allocations: 0 / 1.034 GB, free: 229.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.001e-05/1.488, allocations: 11.16 kB / 1.034 GB, free: 229.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008641/1.489, allocations: 0.5149 MB / 1.035 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.489, allocations: 7.812 kB / 1.035 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/1.489, allocations: 47.64 kB / 1.035 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/1.49, allocations: 265.7 kB / 1.035 GB, free: 228.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/1.49, allocations: 7.438 kB / 1.035 GB, free: 228.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/1.49, allocations: 14.91 kB / 1.035 GB, free: 228.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002864/1.49, allocations: 128.9 kB / 1.035 GB, free: 228.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/1.49, allocations: 265.1 kB / 1.035 GB, free: 228.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.491, allocations: 3.031 kB / 1.035 GB, free: 228.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/1.491, allocations: 3.938 kB / 1.035 GB, free: 228.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/1.491, allocations: 19.81 kB / 1.035 GB, free: 228 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/1.492, allocations: 1.781 MB / 1.037 GB, free: 226.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/1.492, allocations: 104.6 kB / 1.037 GB, free: 226.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/1.492, allocations: 47.23 kB / 1.037 GB, free: 226.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/1.492, allocations: 5.188 kB / 1.037 GB, free: 226.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/1.492, allocations: 34.66 kB / 1.037 GB, free: 226.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.475e-06/1.492, allocations: 0 / 1.037 GB, free: 226.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0009639/1.493, allocations: 497.9 kB / 1.038 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/1.493, allocations: 54.56 kB / 1.038 GB, free: 225.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.494, allocations: 202.5 kB / 1.038 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/1.494, allocations: 29.69 kB / 1.038 GB, free: 225.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/1.494, allocations: 203.6 kB / 1.038 GB, free: 225.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/1.494, allocations: 54.77 kB / 1.038 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.494, allocations: 0 / 1.038 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/1.494, allocations: 333 kB / 1.039 GB, free: 225 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/1.494, allocations: 54.88 kB / 1.039 GB, free: 225 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/1.494, allocations: 140.8 kB / 1.039 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.494, allocations: 80.88 kB / 1.039 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.494, allocations: 0 / 1.039 GB, free: 224.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003771/1.495, allocations: 254.8 kB / 1.039 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.495, allocations: 5.969 kB / 1.039 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.495, allocations: 3.344 kB / 1.039 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001067/1.495, allocations: 23.17 kB / 1.039 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/1.495, allocations: 71.83 kB / 1.039 GB, free: 224.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007692/1.496, allocations: 1.239 MB / 1.041 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.496, allocations: 15.75 kB / 1.041 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/1.496, allocations: 19.94 kB / 1.041 GB, free: 223.3 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.496, allocations: 116.9 kB / 1.041 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/1.496, allocations: 23.48 kB / 1.041 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/1.496, allocations: 17.88 kB / 1.041 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.496, allocations: 3.969 kB / 1.041 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.496, allocations: 3.984 kB / 1.041 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002396/1.497, allocations: 447.4 kB / 1.041 GB, free: 222.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/1.497, allocations: 0.5274 MB / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.497, allocations: 0 / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/1.497, allocations: 34.3 kB / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.497, allocations: 0 / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/1.497, allocations: 3.75 kB / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.497, allocations: 11.19 kB / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.497, allocations: 0 / 1.042 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/1.498, allocations: 368.5 kB / 1.042 GB, free: 221.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/1.498, allocations: 99.41 kB / 1.042 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/1.498, allocations: 3.984 kB / 1.042 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/1.498, allocations: 13.19 kB / 1.042 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/1.498, allocations: 22.45 kB / 1.042 GB, free: 221.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/1.498, allocations: 13.64 kB / 1.042 GB, free: 221.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001185/1.498, allocations: 156.9 kB / 1.042 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.9e-07/1.498, allocations: 0 / 1.042 GB, free: 221.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004406/1.499, allocations: 71.69 kB / 1.042 GB, free: 221.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0003021/1.499, allocations: 199.8 kB / 1.043 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003771/1.499, allocations: 245 kB / 1.043 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.499, allocations: 0 / 1.043 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/1.5, allocations: 54.44 kB / 1.043 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/1.5, allocations: 109.2 kB / 1.043 GB, free: 221.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/1.501, allocations: 376.7 kB / 1.043 GB, free: 221 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.501, allocations: 0.7632 MB / 1.044 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002292/1.501, allocations: 42.73 kB / 1.044 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/1.501, allocations: 23.19 kB / 1.044 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of SimCode: time 3.2e-07/1.502, allocations: 0 / 1.044 GB, free: 220.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.008286/1.51, allocations: 4.224 MB / 1.048 GB, free: 216.1 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTestImplementation.pipe 2>&1)