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.0009421/0.0009419, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.459/0.459, allocations: 90.82 MB / 104.5 MB, free: 9.777 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.0008643, allocations: 98 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.245e-05, allocations: 4 kB / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.457, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.165/4.622, allocations: 1.881 GB / 2.441 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/4.622, allocations: 90.95 kB / 2.442 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.072/7.694, allocations: 0.9307 GB / 3.372 GB, free: 75.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.01e-07/7.694, allocations: 0 / 3.372 GB, free: 75.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002034/7.694, allocations: 39.27 kB / 3.372 GB, free: 75.57 MB / 0.6198 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.004657/7.699, allocations: 1.531 MB / 3.374 GB, free: 74.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/7.699, allocations: 10.73 kB / 3.374 GB, free: 74.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/7.702, allocations: 418.8 kB / 3.374 GB, free: 74.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/7.705, allocations: 1.073 MB / 3.375 GB, free: 74.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/7.705, allocations: 68.89 kB / 3.375 GB, free: 74.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/7.705, allocations: 88.53 kB / 3.375 GB, free: 74.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/7.707, allocations: 0.7943 MB / 3.376 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/7.707, allocations: 0 / 3.376 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/7.707, allocations: 33.38 kB / 3.376 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/7.707, allocations: 27.22 kB / 3.376 GB, free: 74.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/7.709, allocations: 0.7142 MB / 3.377 GB, free: 74.43 MB / 0.6198 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.005104/7.714, allocations: 3.674 MB / 3.38 GB, free: 72.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/7.715, allocations: 1.069 MB / 3.382 GB, free: 72.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/7.715, allocations: 344.6 kB / 3.382 GB, free: 72.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/7.716, allocations: 405.3 kB / 3.382 GB, free: 71.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/7.716, allocations: 37 kB / 3.382 GB, free: 71.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/7.716, allocations: 0 / 3.382 GB, free: 71.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001373/7.717, allocations: 0.6782 MB / 3.383 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/7.717, allocations: 55.69 kB / 3.383 GB, free: 71.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/7.718, allocations: 0.7211 MB / 3.384 GB, free: 71.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/7.718, allocations: 42.36 kB / 3.384 GB, free: 71.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/7.719, allocations: 478.1 kB / 3.384 GB, free: 71.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/7.719, allocations: 217.7 kB / 3.384 GB, free: 71.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/7.719, allocations: 13.44 kB / 3.384 GB, free: 71.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.359e-05/7.719, allocations: 327.7 kB / 3.385 GB, free: 70.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/7.719, allocations: 224.4 kB / 3.385 GB, free: 70.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/7.72, allocations: 369.3 kB / 3.385 GB, free: 70.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/7.72, allocations: 293.1 kB / 3.386 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/7.72, allocations: 0 / 3.386 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009702/7.721, allocations: 0.687 MB / 3.386 GB, free: 70.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/7.721, allocations: 455 kB / 3.387 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/7.721, allocations: 0 / 3.387 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/7.721, allocations: 3.781 kB / 3.387 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/7.722, allocations: 138.5 kB / 3.387 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/7.722, allocations: 0 / 3.387 GB, free: 70.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/7.723, allocations: 142.8 kB / 3.387 GB, free: 70.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/7.723, allocations: 24.53 kB / 3.387 GB, free: 70.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/7.723, allocations: 6.734 kB / 3.387 GB, free: 70.13 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008034/7.724, allocations: 0.5746 MB / 3.388 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/7.724, allocations: 3.719 kB / 3.388 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/7.724, allocations: 4.969 kB / 3.388 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/7.724, allocations: 133.6 kB / 3.388 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/7.724, allocations: 3.719 kB / 3.388 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/7.725, allocations: 138.5 kB / 3.388 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/7.725, allocations: 21.66 kB / 3.388 GB, free: 70.09 MB / 0.6198 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.0001473/7.726, allocations: 143.8 kB / 3.388 GB, free: 69.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/7.726, allocations: 101.7 kB / 3.388 GB, free: 69.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/7.727, allocations: 0.7313 MB / 3.389 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/7.727, allocations: 7.031 kB / 3.389 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/7.727, allocations: 2.688 kB / 3.389 GB, free: 69.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007846/7.728, allocations: 0.8863 MB / 3.39 GB, free: 69.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/7.731, allocations: 2.182 MB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/7.731, allocations: 7.594 kB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/7.732, allocations: 156.2 kB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/7.732, allocations: 5.469 kB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/7.732, allocations: 21.52 kB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/7.732, allocations: 6.156 kB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/7.732, allocations: 7 kB / 3.392 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/7.733, allocations: 1.295 MB / 3.393 GB, free: 68.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/7.734, allocations: 260.1 kB / 3.393 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/7.734, allocations: 22.53 kB / 3.394 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/7.735, allocations: 125.9 kB / 3.394 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/7.735, allocations: 55.64 kB / 3.394 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/7.735, allocations: 30.05 kB / 3.394 GB, free: 68.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007658/7.736, allocations: 0.5609 MB / 3.394 GB, free: 67.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/7.736, allocations: 0 / 3.394 GB, free: 67.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002708/7.739, allocations: 0.774 MB / 3.395 GB, free: 67.89 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.004644/7.743, allocations: 2.31 MB / 3.397 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001771/7.745, allocations: 0.9102 MB / 3.398 GB, free: 67.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/7.745, allocations: 0 / 3.398 GB, free: 67.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/7.746, allocations: 321.9 kB / 3.398 GB, free: 67.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/7.75, allocations: 0.6642 MB / 3.399 GB, free: 66.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/7.753, allocations: 1.738 MB / 3.401 GB, free: 66.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/7.754, allocations: 1.156 MB / 3.402 GB, free: 65.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001786/7.756, allocations: 384.3 kB / 3.402 GB, free: 65.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/7.756, allocations: 72.88 kB / 3.402 GB, free: 65.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.162e-06/7.756, allocations: 0 / 3.402 GB, free: 65.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.06839/7.824, allocations: 53.9 MB / 3.455 GB, free: 33.46 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)