Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.587/1.587, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.00111/0.001109, allocations: 180.8 kB / 366.7 MB, free: 1.695 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.74/1.74, allocations: 205.3 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009819/0.0009818, allocations: 92.14 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.94e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7405, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.361/5.102, allocations: 2.082 GB / 3.056 GB, free: 47.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.102, allocations: 83.95 kB / 3.056 GB, free: 47.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.537/8.639, allocations: 0.9063 GB / 3.962 GB, free: 161.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/8.639, allocations: 0 / 3.962 GB, free: 161.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002119/8.639, allocations: 42.16 kB / 3.962 GB, free: 161.6 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.005291/8.645, allocations: 1.522 MB / 3.964 GB, free: 160.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/8.645, allocations: 11.81 kB / 3.964 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/8.648, allocations: 418.6 kB / 3.964 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/8.651, allocations: 1.055 MB / 3.965 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/8.651, allocations: 27 kB / 3.965 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/8.652, allocations: 51.89 kB / 3.965 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001698/8.653, allocations: 0.678 MB / 3.966 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/8.655, allocations: 0.687 MB / 3.966 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/8.655, allocations: 0 / 3.966 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/8.655, allocations: 3 kB / 3.967 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/8.655, allocations: 27.72 kB / 3.967 GB, free: 160.4 MB / 0.948 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.005336/8.661, allocations: 3.488 MB / 3.97 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/8.662, allocations: 1.048 MB / 3.971 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/8.662, allocations: 332.6 kB / 3.971 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/8.663, allocations: 402.7 kB / 3.972 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/8.663, allocations: 38.66 kB / 3.972 GB, free: 157.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.386e-06/8.663, allocations: 0 / 3.972 GB, free: 157.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001584/8.664, allocations: 0.7148 MB / 3.972 GB, free: 157.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/8.664, allocations: 57.25 kB / 3.972 GB, free: 157.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008227/8.665, allocations: 0.5966 MB / 3.973 GB, free: 157.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/8.665, allocations: 29.61 kB / 3.973 GB, free: 157.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/8.666, allocations: 479.8 kB / 3.974 GB, free: 157.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/8.666, allocations: 206.2 kB / 3.974 GB, free: 157.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/8.666, allocations: 0 / 3.974 GB, free: 157.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/8.666, allocations: 327.1 kB / 3.974 GB, free: 157 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/8.666, allocations: 218.3 kB / 3.974 GB, free: 157 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/8.667, allocations: 369.3 kB / 3.975 GB, free: 156.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/8.667, allocations: 341 kB / 3.975 GB, free: 156.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/8.667, allocations: 3.938 kB / 3.975 GB, free: 156.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001154/8.668, allocations: 0.7194 MB / 3.976 GB, free: 156.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/8.668, allocations: 450.1 kB / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-05/8.669, allocations: 0 / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/8.669, allocations: 6.688 kB / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/8.669, allocations: 136.9 kB / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/8.669, allocations: 0 / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/8.67, allocations: 113.7 kB / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/8.67, allocations: 27.75 kB / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/8.67, allocations: 3.938 kB / 3.976 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009599/8.671, allocations: 0.585 MB / 3.977 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/8.671, allocations: 0 / 3.977 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/8.671, allocations: 3.969 kB / 3.977 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/8.672, allocations: 130.3 kB / 3.977 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/8.672, allocations: 17.97 kB / 3.977 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008209/8.673, allocations: 112.4 kB / 3.977 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/8.673, allocations: 22.58 kB / 3.977 GB, free: 156.3 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 () * 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.0001472/8.673, allocations: 115.5 kB / 3.977 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/8.673, allocations: 95.81 kB / 3.977 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/8.674, allocations: 0.73 MB / 3.978 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/8.674, allocations: 10.86 kB / 3.978 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/8.674, allocations: 0 / 3.978 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009592/8.675, allocations: 0.9168 MB / 3.979 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/8.678, allocations: 2.098 MB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/8.678, allocations: 3.719 kB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/8.679, allocations: 152.9 kB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/8.679, allocations: 6.469 kB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/8.679, allocations: 9.031 kB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/8.679, allocations: 14.16 kB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/8.679, allocations: 3.25 kB / 3.981 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/8.681, allocations: 1.342 MB / 3.983 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/8.681, allocations: 247.1 kB / 3.983 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/8.681, allocations: 11.16 kB / 3.983 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008788/8.682, allocations: 116.4 kB / 3.983 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/8.682, allocations: 52.45 kB / 3.983 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/8.682, allocations: 26.67 kB / 3.983 GB, free: 154.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005433/8.683, allocations: 472.4 kB / 3.983 GB, free: 154.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.683, allocations: 0 / 3.983 GB, free: 154.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001885/8.685, allocations: 0.6783 MB / 3.984 GB, free: 154.2 MB / 0.948 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 () * 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.003309/8.688, allocations: 2.575 MB / 3.987 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001309/8.689, allocations: 0.8572 MB / 3.987 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/8.689, allocations: 0 / 3.987 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/8.69, allocations: 312.8 kB / 3.988 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/8.693, allocations: 0.607 MB / 3.988 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/8.696, allocations: 1.684 MB / 3.99 GB, free: 152.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/8.696, allocations: 1.149 MB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001438/8.698, allocations: 344.9 kB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/8.698, allocations: 70.38 kB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/8.698, allocations: 3.531 kB / 3.991 GB, free: 152 MB / 0.948 GB Notification: Performance of Templates: time 0.05432/8.752, allocations: 32.09 MB / 4.023 GB, free: 149.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)