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.645/1.645, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001364/0.001364, allocations: 178.2 kB / 373 MB, free: 10.16 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.638/1.638, allocations: 205.4 MB / 0.6317 GB, free: 9.801 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.000794/0.0007947, allocations: 90.73 kB / 0.745 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 19.83 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.823/5.073, allocations: 2.082 GB / 3.063 GB, free: 233.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/5.073, allocations: 95.95 kB / 3.063 GB, free: 233.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.507/7.58, allocations: 0.9154 GB / 3.979 GB, free: 26.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.794e-06/7.58, allocations: 7.938 kB / 3.979 GB, free: 26.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001051/7.58, allocations: 40.11 kB / 3.979 GB, free: 26.22 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.003381/7.583, allocations: 1.737 MB / 3.98 GB, free: 24.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/7.583, allocations: 8.031 kB / 3.98 GB, free: 24.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/7.586, allocations: 422.9 kB / 3.981 GB, free: 24.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/7.588, allocations: 1.106 MB / 3.982 GB, free: 22.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/7.588, allocations: 66 kB / 3.982 GB, free: 22.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/7.588, allocations: 91.84 kB / 3.982 GB, free: 22.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/7.589, allocations: 0.8429 MB / 3.983 GB, free: 21.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/7.589, allocations: 3.984 kB / 3.983 GB, free: 21.87 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/7.589, allocations: 36 kB / 3.983 GB, free: 21.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/7.589, allocations: 29.94 kB / 3.983 GB, free: 21.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/7.59, allocations: 0.7964 MB / 3.984 GB, free: 21.01 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.003757/7.594, allocations: 3.658 MB / 3.987 GB, free: 17.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/7.595, allocations: 1.111 MB / 3.988 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/7.596, allocations: 374.3 kB / 3.989 GB, free: 15.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/7.597, allocations: 408.9 kB / 3.989 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/7.597, allocations: 43.12 kB / 3.989 GB, free: 14.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.617e-06/7.597, allocations: 3.984 kB / 3.989 GB, free: 14.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001839/7.598, allocations: 1.005 MB / 3.99 GB, free: 13.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/7.598, allocations: 67.91 kB / 3.99 GB, free: 13.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/7.599, allocations: 0.82 MB / 3.991 GB, free: 13.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/7.599, allocations: 41.7 kB / 3.991 GB, free: 12.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/7.6, allocations: 476.2 kB / 3.991 GB, free: 12.49 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/7.6, allocations: 216.8 kB / 3.992 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/7.6, allocations: 8 kB / 3.992 GB, free: 12.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.825e-05/7.6, allocations: 330 kB / 3.992 GB, free: 11.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/7.6, allocations: 264.7 kB / 3.992 GB, free: 11.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/7.601, allocations: 416.6 kB / 3.993 GB, free: 11.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/7.602, allocations: 0.6165 MB / 3.993 GB, free: 10.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/7.602, allocations: 4 kB / 3.993 GB, free: 10.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001091/7.603, allocations: 0.7671 MB / 3.994 GB, free: 9.816 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/7.603, allocations: 122.8 kB / 3.994 GB, free: 9.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/7.603, allocations: 4 kB / 3.994 GB, free: 9.676 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/7.603, allocations: 8 kB / 3.994 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/7.604, allocations: 135.8 kB / 3.994 GB, free: 9.535 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/7.604, allocations: 8 kB / 3.994 GB, free: 9.527 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/7.605, allocations: 127.4 kB / 3.994 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/7.605, allocations: 24 kB / 3.994 GB, free: 9.379 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/7.605, allocations: 5.094 kB / 3.994 GB, free: 9.375 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000955/7.606, allocations: 0.6456 MB / 3.995 GB, free: 8.727 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/7.606, allocations: 3.938 kB / 3.995 GB, free: 8.723 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/7.606, allocations: 4 kB / 3.995 GB, free: 8.719 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/7.606, allocations: 131.8 kB / 3.995 GB, free: 8.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/7.606, allocations: 12.03 kB / 3.995 GB, free: 8.578 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/7.607, allocations: 127.3 kB / 3.995 GB, free: 8.453 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/7.607, allocations: 24 kB / 3.995 GB, free: 8.43 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.0005274/7.607, allocations: 388.9 kB / 3.996 GB, free: 8.039 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/7.608, allocations: 102.8 kB / 3.996 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/7.609, allocations: 0.7899 MB / 3.996 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/7.609, allocations: 11.88 kB / 3.997 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/7.609, allocations: 0 / 3.997 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009611/7.61, allocations: 0.9541 MB / 3.997 GB, free: 6.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/7.613, allocations: 2.257 MB / 4 GB, free: 3.699 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/7.613, allocations: 8 kB / 4 GB, free: 3.691 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/7.613, allocations: 156.2 kB / 4 GB, free: 3.539 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/7.614, allocations: 11.94 kB / 4 GB, free: 3.527 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/7.614, allocations: 19.98 kB / 4 GB, free: 3.508 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/7.614, allocations: 11.94 kB / 4 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/7.614, allocations: 0 / 4 GB, free: 3.496 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/7.615, allocations: 1.276 MB / 4.001 GB, free: 2.164 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/7.616, allocations: 263.6 kB / 4.001 GB, free: 1.887 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/7.616, allocations: 19.94 kB / 4.001 GB, free: 1.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008688/7.617, allocations: 131.7 kB / 4.001 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/7.617, allocations: 52.31 kB / 4.002 GB, free: 1.688 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/7.617, allocations: 27.94 kB / 4.002 GB, free: 1.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006673/7.617, allocations: 0.5743 MB / 4.002 GB, free: 1.074 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.617, allocations: 0 / 4.002 GB, free: 1.074 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002113/7.62, allocations: 0.7722 MB / 4.003 GB, free: 308 kB / 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 () * 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.003446/7.623, allocations: 2.338 MB / 4.005 GB, free: 13.79 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001971/7.625, allocations: 0.9857 MB / 4.006 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/7.625, allocations: 0 / 4.006 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/7.626, allocations: 359.1 kB / 4.006 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003841/7.63, allocations: 0.6659 MB / 4.007 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/7.633, allocations: 2.621 MB / 4.01 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/7.634, allocations: 1.128 MB / 4.011 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001338/7.636, allocations: 288.1 kB / 4.011 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/7.636, allocations: 83.42 kB / 4.011 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of SimCode: time 2.074e-06/7.636, allocations: 4 kB / 4.011 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of Templates: time 0.6334/8.269, allocations: 46.79 MB / 4.057 GB, free: 159.2 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)