Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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/IBPSA 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.7 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4473/0.4473, allocations: 86.27 MB / 103.8 MB, free: 14.58 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 348.4 MB, free: 5.043 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008034, allocations: 92.31 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004265, allocations: 12 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3094, allocations: 71.01 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.568/3.877, allocations: 1.879 GB / 2.439 GB, free: 179 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/3.878, allocations: 91.95 kB / 2.439 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.936/6.813, allocations: 0.9268 GB / 3.366 GB, free: 77.05 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.432e-06/6.813, allocations: 0 / 3.366 GB, free: 77.05 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0001651/6.813, allocations: 36.97 kB / 3.366 GB, free: 77.05 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.00451/6.818, allocations: 1.736 MB / 3.368 GB, free: 76.37 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/6.818, allocations: 12.14 kB / 3.368 GB, free: 76.37 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/6.821, allocations: 418.2 kB / 3.368 GB, free: 76.3 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/6.824, allocations: 1.107 MB / 3.369 GB, free: 75.98 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/6.824, allocations: 62.28 kB / 3.369 GB, free: 75.98 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/6.824, allocations: 90.12 kB / 3.369 GB, free: 75.98 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/6.826, allocations: 0.85 MB / 3.37 GB, free: 75.92 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/6.826, allocations: 0 / 3.37 GB, free: 75.92 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.67e-05/6.826, allocations: 31.41 kB / 3.37 GB, free: 75.92 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/6.826, allocations: 27.25 kB / 3.37 GB, free: 75.92 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/6.828, allocations: 0.7954 MB / 3.371 GB, free: 75.91 MB / 0.6199 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004892/6.832, allocations: 3.664 MB / 3.374 GB, free: 74.33 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/6.834, allocations: 1.121 MB / 3.376 GB, free: 73.74 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/6.834, allocations: 381.9 kB / 3.376 GB, free: 73.73 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/6.835, allocations: 400.2 kB / 3.376 GB, free: 73.36 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/6.835, allocations: 40.25 kB / 3.376 GB, free: 73.32 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/6.835, allocations: 0 / 3.376 GB, free: 73.32 MB / 0.6199 GB Notification: Performance of matching and sorting (n=60): time 0.002021/6.837, allocations: 1.011 MB / 3.377 GB, free: 73.22 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/6.837, allocations: 59.19 kB / 3.377 GB, free: 73.16 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/6.838, allocations: 0.8242 MB / 3.378 GB, free: 73.01 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/6.838, allocations: 44.02 kB / 3.378 GB, free: 72.98 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/6.838, allocations: 479 kB / 3.379 GB, free: 72.84 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/6.838, allocations: 212.3 kB / 3.379 GB, free: 72.73 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/6.838, allocations: 8.625 kB / 3.379 GB, free: 72.73 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/6.839, allocations: 333 kB / 3.379 GB, free: 72.43 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/6.839, allocations: 262.6 kB / 3.379 GB, free: 72.43 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/6.84, allocations: 420.4 kB / 3.38 GB, free: 72.28 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/6.84, allocations: 0.6186 MB / 3.38 GB, free: 72.23 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/6.84, allocations: 3.406 kB / 3.38 GB, free: 72.23 MB / 0.6199 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001224/6.842, allocations: 0.7544 MB / 3.381 GB, free: 72.14 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-05/6.842, allocations: 130.8 kB / 3.381 GB, free: 72.02 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/6.842, allocations: 0 / 3.381 GB, free: 72.02 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/6.842, allocations: 3.125 kB / 3.381 GB, free: 72.02 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/6.842, allocations: 142 kB / 3.381 GB, free: 72.02 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/6.842, allocations: 3.469 kB / 3.381 GB, free: 72.02 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/6.843, allocations: 131.6 kB / 3.382 GB, free: 72 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/6.844, allocations: 23.44 kB / 3.382 GB, free: 72 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/6.844, allocations: 3.875 kB / 3.382 GB, free: 72 MB / 0.6199 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/6.845, allocations: 0.6483 MB / 3.382 GB, free: 71.98 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/6.845, allocations: 2.625 kB / 3.382 GB, free: 71.98 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.791e-06/6.845, allocations: 2.969 kB / 3.382 GB, free: 71.98 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/6.845, allocations: 131.2 kB / 3.382 GB, free: 71.98 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/6.845, allocations: 5.094 kB / 3.382 GB, free: 71.98 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/6.846, allocations: 139 kB / 3.383 GB, free: 71.96 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/6.846, allocations: 24.31 kB / 3.383 GB, free: 71.96 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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 prepare postOptimizeDAE: time 0.0005302/6.847, allocations: 377.8 kB / 3.383 GB, free: 71.78 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/6.847, allocations: 105.4 kB / 3.383 GB, free: 71.73 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/6.848, allocations: 0.7942 MB / 3.384 GB, free: 71.67 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/6.848, allocations: 7.812 kB / 3.384 GB, free: 71.67 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/6.848, allocations: 3.938 kB / 3.384 GB, free: 71.66 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009966/6.849, allocations: 0.9512 MB / 3.385 GB, free: 71.21 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/6.853, allocations: 2.26 MB / 3.387 GB, free: 70.58 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/6.853, allocations: 4.406 kB / 3.387 GB, free: 70.58 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/6.853, allocations: 156.5 kB / 3.387 GB, free: 70.58 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/6.853, allocations: 7.469 kB / 3.387 GB, free: 70.58 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/6.853, allocations: 21.56 kB / 3.387 GB, free: 70.57 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/6.853, allocations: 6.812 kB / 3.387 GB, free: 70.57 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/6.854, allocations: 4.625 kB / 3.387 GB, free: 70.57 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/6.855, allocations: 1.28 MB / 3.388 GB, free: 70.27 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004933/6.856, allocations: 260.8 kB / 3.389 GB, free: 70.13 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/6.856, allocations: 19.72 kB / 3.389 GB, free: 70.12 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/6.857, allocations: 129.1 kB / 3.389 GB, free: 70.12 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/6.857, allocations: 51.77 kB / 3.389 GB, free: 70.12 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/6.857, allocations: 26.42 kB / 3.389 GB, free: 70.12 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.0007403/6.858, allocations: 0.5694 MB / 3.389 GB, free: 70.01 MB / 0.6199 GB Notification: Performance of sort global known variables: time 3e-07/6.858, allocations: 0 / 3.389 GB, free: 70.01 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.002124/6.86, allocations: 0.7816 MB / 3.39 GB, free: 69.96 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.003159/6.863, allocations: 2.345 MB / 3.392 GB, free: 69.11 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.001666/6.865, allocations: 0.9848 MB / 3.393 GB, free: 69.1 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/6.865, allocations: 0 / 3.393 GB, free: 69.1 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0005139/6.865, allocations: 354 kB / 3.394 GB, free: 69.09 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/6.869, allocations: 0.6781 MB / 3.394 GB, free: 69.08 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/6.872, allocations: 2.608 MB / 3.397 GB, free: 67.93 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/6.873, allocations: 1.128 MB / 3.398 GB, free: 67.23 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.001165/6.874, allocations: 295.5 kB / 3.398 GB, free: 67.21 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/6.874, allocations: 85.62 kB / 3.398 GB, free: 67.21 MB / 0.6199 GB Notification: Performance of SimCode: time 3.81e-07/6.874, allocations: 0 / 3.398 GB, free: 67.21 MB / 0.6199 GB Notification: Performance of Templates: time 0.05991/6.934, allocations: 46.81 MB / 3.444 GB, free: 64.8 MB / 0.6199 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)