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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001094/0.001095, allocations: 178 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4948/0.4948, allocations: 90.93 MB / 99.36 MB, free: 2.16 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 343.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 96.81 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.809e-05, allocations: 7.984 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.354/4.508, allocations: 1.881 GB / 2.434 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/4.508, allocations: 90.94 kB / 2.434 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.215/7.723, allocations: 0.9206 GB / 3.355 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/7.723, allocations: 0 / 3.355 GB, free: 20.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001167/7.723, allocations: 39.98 kB / 3.355 GB, free: 20.66 MB / 0.6042 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.003233/7.726, allocations: 1.521 MB / 3.356 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/7.727, allocations: 12.03 kB / 3.356 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/7.729, allocations: 418 kB / 3.357 GB, free: 18.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/7.731, allocations: 1.081 MB / 3.358 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/7.731, allocations: 24 kB / 3.358 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/7.731, allocations: 55.91 kB / 3.358 GB, free: 17.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/7.732, allocations: 0.6833 MB / 3.358 GB, free: 16.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/7.733, allocations: 0.6829 MB / 3.359 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/7.733, allocations: 0 / 3.359 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/7.733, allocations: 0 / 3.359 GB, free: 16.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/7.733, allocations: 30 kB / 3.359 GB, free: 16.07 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.003817/7.737, allocations: 3.503 MB / 3.363 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/7.738, allocations: 1.048 MB / 3.364 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/7.738, allocations: 336 kB / 3.364 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/7.739, allocations: 396.9 kB / 3.364 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/7.739, allocations: 39.12 kB / 3.364 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/7.739, allocations: 0 / 3.364 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001398/7.74, allocations: 0.7165 MB / 3.365 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/7.74, allocations: 63.97 kB / 3.365 GB, free: 9.484 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/7.741, allocations: 0.5948 MB / 3.366 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/7.741, allocations: 33.64 kB / 3.366 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/7.741, allocations: 487.9 kB / 3.366 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/7.742, allocations: 204.9 kB / 3.366 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/7.742, allocations: 0 / 3.366 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/7.742, allocations: 326 kB / 3.367 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/7.742, allocations: 221 kB / 3.367 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/7.742, allocations: 358.7 kB / 3.367 GB, free: 7.223 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/7.743, allocations: 342.6 kB / 3.368 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/7.743, allocations: 2.734 kB / 3.368 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001032/7.744, allocations: 0.7126 MB / 3.368 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/7.744, allocations: 456 kB / 3.369 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/7.744, allocations: 0 / 3.369 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/7.744, allocations: 8 kB / 3.369 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/7.745, allocations: 139.8 kB / 3.369 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/7.745, allocations: 7.984 kB / 3.369 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009484/7.746, allocations: 119.5 kB / 3.369 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/7.746, allocations: 27.94 kB / 3.369 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/7.746, allocations: 4 kB / 3.369 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008904/7.747, allocations: 0.5909 MB / 3.37 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/7.747, allocations: 0 / 3.37 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/7.747, allocations: 4 kB / 3.37 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/7.747, allocations: 131.8 kB / 3.37 GB, free: 4.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/7.747, allocations: 10.41 kB / 3.37 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/7.748, allocations: 127.5 kB / 3.37 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/7.748, allocations: 24 kB / 3.37 GB, free: 4.508 MB / 0.6042 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 () * 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.0001249/7.748, allocations: 114.5 kB / 3.37 GB, free: 4.391 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/7.748, allocations: 98.83 kB / 3.37 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/7.749, allocations: 0.7388 MB / 3.371 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/7.749, allocations: 4 kB / 3.371 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/7.749, allocations: 0 / 3.371 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000898/7.75, allocations: 0.9228 MB / 3.372 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/7.753, allocations: 2.084 MB / 3.374 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/7.753, allocations: 8.016 kB / 3.374 GB, free: 328 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/7.754, allocations: 151.8 kB / 3.374 GB, free: 176 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/7.754, allocations: 8 kB / 3.374 GB, free: 168 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/7.754, allocations: 15.95 kB / 3.374 GB, free: 152 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/7.754, allocations: 7.984 kB / 3.374 GB, free: 144 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/7.754, allocations: 7.938 kB / 3.374 GB, free: 136 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/7.756, allocations: 1.302 MB / 3.375 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/7.756, allocations: 259.8 kB / 3.375 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/7.756, allocations: 19.92 kB / 3.375 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/7.757, allocations: 111.8 kB / 3.376 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/7.757, allocations: 48.31 kB / 3.376 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/7.757, allocations: 35.94 kB / 3.376 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000609/7.758, allocations: 471.1 kB / 3.376 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.811e-06/7.758, allocations: 0 / 3.376 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001963/7.76, allocations: 0.6859 MB / 3.377 GB, free: 13.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete 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.003831/7.764, allocations: 2.572 MB / 3.379 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001452/7.765, allocations: 0.8671 MB / 3.38 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/7.765, allocations: 0 / 3.38 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/7.766, allocations: 301.4 kB / 3.38 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/7.769, allocations: 0.6066 MB / 3.381 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/7.773, allocations: 1.7 MB / 3.383 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/7.774, allocations: 1.152 MB / 3.384 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001762/7.775, allocations: 347.5 kB / 3.384 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/7.776, allocations: 67.42 kB / 3.384 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/7.776, allocations: 0 / 3.384 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.4917/8.267, allocations: 32.09 MB / 3.416 GB, free: 74.84 MB / 0.6198 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)