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.7177/0.7177, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 168.8 kB / 169.7 MB, free: 1.75 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.737/1.737, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009365/0.0009365, allocations: 91.2 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.359e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1553, allocations: 76.76 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.316, allocations: 323.4 MB / 0.944 GB, free: 210.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.316, allocations: 71.97 kB / 0.944 GB, free: 210.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1689/1.485, allocations: 100.2 MB / 1.042 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.485, allocations: 0 / 1.042 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.485, allocations: 4 kB / 1.042 GB, free: 109.4 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006166/1.486, allocations: 0.5116 MB / 1.042 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.486, allocations: 8.031 kB / 1.042 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/1.486, allocations: 43.58 kB / 1.042 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/1.487, allocations: 262.9 kB / 1.043 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.487, allocations: 20.55 kB / 1.043 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/1.487, allocations: 24 kB / 1.043 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/1.487, allocations: 300 kB / 1.043 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/1.487, allocations: 7.938 kB / 1.043 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/1.487, allocations: 8 kB / 1.043 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/1.487, allocations: 12 kB / 1.043 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/1.487, allocations: 157.5 kB / 1.043 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/1.489, allocations: 1.853 MB / 1.045 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/1.489, allocations: 106.4 kB / 1.045 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/1.489, allocations: 56.94 kB / 1.045 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/1.489, allocations: 7.984 kB / 1.045 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.489, allocations: 34.56 kB / 1.045 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/1.489, allocations: 0 / 1.045 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.000959/1.49, allocations: 0.5308 MB / 1.046 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.49, allocations: 55.41 kB / 1.046 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/1.49, allocations: 239 kB / 1.046 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.49, allocations: 33.7 kB / 1.046 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/1.49, allocations: 195.6 kB / 1.046 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/1.49, allocations: 55.2 kB / 1.046 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/1.49, allocations: 4 kB / 1.046 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/1.491, allocations: 338.8 kB / 1.047 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/1.491, allocations: 52 kB / 1.047 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/1.491, allocations: 152.9 kB / 1.047 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/1.491, allocations: 82.91 kB / 1.047 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.491, allocations: 0 / 1.047 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000342/1.491, allocations: 295.6 kB / 1.047 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.491, allocations: 4.938 kB / 1.047 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.491, allocations: 7.938 kB / 1.047 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/1.491, allocations: 25.28 kB / 1.047 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/1.492, allocations: 71.91 kB / 1.047 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006951/1.492, allocations: 1.276 MB / 1.049 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/1.492, allocations: 24.08 kB / 1.049 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.492, allocations: 12 kB / 1.049 GB, free: 102 MB / 0.6355 GB 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 6.639e-05/1.493, allocations: 120.9 kB / 1.049 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/1.493, allocations: 27.72 kB / 1.049 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/1.493, allocations: 25.95 kB / 1.049 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.493, allocations: 0 / 1.049 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/1.493, allocations: 8 kB / 1.049 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002173/1.493, allocations: 458.2 kB / 1.049 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/1.494, allocations: 0.5842 MB / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.494, allocations: 0 / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/1.494, allocations: 40.08 kB / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.494, allocations: 4 kB / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.494, allocations: 4 kB / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.494, allocations: 8 kB / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.494, allocations: 0 / 1.05 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/1.494, allocations: 387.9 kB / 1.05 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/1.494, allocations: 100.8 kB / 1.05 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/1.494, allocations: 11.98 kB / 1.05 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.494, allocations: 8.062 kB / 1.05 GB, free: 100 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/1.494, allocations: 15.98 kB / 1.05 GB, free: 99.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/1.494, allocations: 15.94 kB / 1.05 GB, free: 99.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001393/1.495, allocations: 187.1 kB / 1.05 GB, free: 99.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.62e-07/1.495, allocations: 0 / 1.05 GB, free: 99.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000366/1.495, allocations: 87.92 kB / 1.051 GB, free: 99.7 MB / 0.6355 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.0002705/1.495, allocations: 216.3 kB / 1.051 GB, free: 99.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003382/1.496, allocations: 262.3 kB / 1.051 GB, free: 99.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.496, allocations: 0 / 1.051 GB, free: 99.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/1.496, allocations: 52.75 kB / 1.051 GB, free: 99.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/1.496, allocations: 145.3 kB / 1.051 GB, free: 99.01 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/1.497, allocations: 383.8 kB / 1.052 GB, free: 98.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/1.497, allocations: 0.7719 MB / 1.052 GB, free: 97.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001931/1.497, allocations: 42.97 kB / 1.052 GB, free: 97.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/1.497, allocations: 27.42 kB / 1.052 GB, free: 97.73 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.497, allocations: 0 / 1.052 GB, free: 97.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.008907/1.506, allocations: 5.958 MB / 1.058 GB, free: 91.79 MB / 0.6355 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)