Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 288.3 MB / 303.2 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 177 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.41 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.000434, allocations: 15.91 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2739, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.26/5.534, allocations: 2.082 GB / 3.062 GB, free: 233.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/5.535, allocations: 91.95 kB / 3.062 GB, free: 233.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.116/8.651, allocations: 0.9173 GB / 3.979 GB, free: 24.76 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/8.651, allocations: 0 / 3.979 GB, free: 24.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001557/8.651, allocations: 40.11 kB / 3.979 GB, free: 24.72 MB / 0.948 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.004877/8.656, allocations: 1.752 MB / 3.981 GB, free: 22.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/8.656, allocations: 8.031 kB / 3.981 GB, free: 22.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/8.659, allocations: 417.5 kB / 3.981 GB, free: 22.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/8.662, allocations: 1.07 MB / 3.982 GB, free: 21.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/8.662, allocations: 66 kB / 3.982 GB, free: 21.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/8.662, allocations: 80 kB / 3.982 GB, free: 21.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/8.664, allocations: 0.8429 MB / 3.983 GB, free: 20.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/8.664, allocations: 0 / 3.983 GB, free: 20.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/8.664, allocations: 35.94 kB / 3.983 GB, free: 20.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/8.664, allocations: 33.89 kB / 3.983 GB, free: 20.35 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/8.665, allocations: 0.7925 MB / 3.984 GB, free: 19.55 MB / 0.948 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.004814/8.67, allocations: 3.662 MB / 3.988 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/8.671, allocations: 1.103 MB / 3.989 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/8.672, allocations: 400.9 kB / 3.989 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/8.672, allocations: 35.12 kB / 3.989 GB, free: 13.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.445e-06/8.672, allocations: 7.609 kB / 3.989 GB, free: 13.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002045/8.674, allocations: 1.001 MB / 3.99 GB, free: 12.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/8.674, allocations: 59.97 kB / 3.99 GB, free: 12.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/8.675, allocations: 0.7215 MB / 3.991 GB, free: 12.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/8.675, allocations: 45.64 kB / 3.991 GB, free: 12 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/8.675, allocations: 476.2 kB / 3.991 GB, free: 11.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/8.676, allocations: 216.9 kB / 3.992 GB, free: 11.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/8.676, allocations: 8 kB / 3.992 GB, free: 11.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/8.676, allocations: 330 kB / 3.992 GB, free: 10.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/8.676, allocations: 261 kB / 3.992 GB, free: 10.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/8.677, allocations: 414 kB / 3.993 GB, free: 10.26 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/8.677, allocations: 318.3 kB / 3.993 GB, free: 9.953 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/8.677, allocations: 4 kB / 3.993 GB, free: 9.949 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001234/8.678, allocations: 0.7711 MB / 3.994 GB, free: 9.168 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/8.679, allocations: 449.7 kB / 3.994 GB, free: 8.699 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/8.679, allocations: 4 kB / 3.994 GB, free: 8.695 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/8.679, allocations: 4 kB / 3.994 GB, free: 8.691 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/8.679, allocations: 139.8 kB / 3.994 GB, free: 8.555 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/8.679, allocations: 4 kB / 3.994 GB, free: 8.551 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/8.68, allocations: 135 kB / 3.994 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/8.68, allocations: 20 kB / 3.994 GB, free: 8.402 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/8.68, allocations: 4 kB / 3.994 GB, free: 8.398 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/8.681, allocations: 0.6456 MB / 3.995 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/8.681, allocations: 0 / 3.995 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/8.682, allocations: 11.97 kB / 3.995 GB, free: 7.738 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/8.682, allocations: 135.8 kB / 3.995 GB, free: 7.605 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/8.682, allocations: 7.984 kB / 3.995 GB, free: 7.598 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/8.683, allocations: 131.5 kB / 3.995 GB, free: 7.469 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/8.683, allocations: 23.98 kB / 3.995 GB, free: 7.445 MB / 0.948 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.0005996/8.684, allocations: 388.9 kB / 3.996 GB, free: 7.055 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/8.684, allocations: 102.8 kB / 3.996 GB, free: 6.953 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/8.685, allocations: 0.7859 MB / 3.997 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/8.685, allocations: 8 kB / 3.997 GB, free: 6.156 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/8.685, allocations: 3.984 kB / 3.997 GB, free: 6.152 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009838/8.686, allocations: 0.9579 MB / 3.997 GB, free: 5.109 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/8.69, allocations: 2.261 MB / 4 GB, free: 2.711 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/8.69, allocations: 4 kB / 4 GB, free: 2.707 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/8.691, allocations: 148.2 kB / 4 GB, free: 2.562 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/8.691, allocations: 12 kB / 4 GB, free: 2.551 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/8.691, allocations: 19.98 kB / 4 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/8.691, allocations: 4 kB / 4 GB, free: 2.527 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/8.691, allocations: 7.938 kB / 4 GB, free: 2.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/8.692, allocations: 1.433 MB / 4.001 GB, free: 0.9531 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/8.693, allocations: 259.7 kB / 4.002 GB, free: 0.6797 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/8.693, allocations: 24 kB / 4.002 GB, free: 0.6562 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/8.694, allocations: 131.7 kB / 4.002 GB, free: 0.5273 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/8.694, allocations: 48.27 kB / 4.002 GB, free: 492 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/8.694, allocations: 28 kB / 4.002 GB, free: 464 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007766/8.695, allocations: 0.5704 MB / 4.002 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/8.695, allocations: 5.531 kB / 4.002 GB, free: 15.87 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002264/8.697, allocations: 0.7643 MB / 4.003 GB, free: 15.1 MB / 0.9636 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.003439/8.701, allocations: 2.312 MB / 4.005 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001958/8.703, allocations: 0.9822 MB / 4.006 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/8.703, allocations: 4 kB / 4.006 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006037/8.704, allocations: 351 kB / 4.007 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/8.707, allocations: 0.6757 MB / 4.007 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/8.711, allocations: 2.614 MB / 4.01 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/8.712, allocations: 1.143 MB / 4.011 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00129/8.713, allocations: 292.1 kB / 4.011 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/8.713, allocations: 87.38 kB / 4.011 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of SimCode: time 2.575e-06/8.713, allocations: 3.938 kB / 4.011 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of Templates: time 0.5532/9.267, allocations: 46.22 MB / 4.056 GB, free: 157.7 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)