Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8124/0.8124, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 187.3 kB / 187.3 MB, free: 11.89 MB / 154.7 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.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 91.28 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 273.8 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.623e-05/4.625e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4795, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/4.997, allocations: 1.888 GB / 2.652 GB, free: 119.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/4.997, allocations: 94.38 kB / 2.652 GB, free: 119.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.696/8.694, allocations: 0.9287 GB / 3.581 GB, free: 98.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/8.694, allocations: 0 / 3.581 GB, free: 98.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001345/8.694, allocations: 45.98 kB / 3.581 GB, free: 98.02 MB / 0.7136 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.003511/8.698, allocations: 1.52 MB / 3.583 GB, free: 97.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/8.698, allocations: 10.75 kB / 3.583 GB, free: 97.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/8.701, allocations: 423.5 kB / 3.583 GB, free: 97.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/8.703, allocations: 1.057 MB / 3.584 GB, free: 97.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/8.703, allocations: 63.52 kB / 3.584 GB, free: 97.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/8.703, allocations: 90.27 kB / 3.584 GB, free: 97.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/8.705, allocations: 0.795 MB / 3.585 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/8.705, allocations: 0 / 3.585 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/8.705, allocations: 34.53 kB / 3.585 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/8.705, allocations: 29.31 kB / 3.585 GB, free: 97.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/8.706, allocations: 0.7065 MB / 3.586 GB, free: 97.19 MB / 0.7136 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.004502/8.71, allocations: 3.667 MB / 3.589 GB, free: 95.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/8.711, allocations: 1.059 MB / 3.59 GB, free: 95.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/8.712, allocations: 345.8 kB / 3.591 GB, free: 95.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005545/8.712, allocations: 403.6 kB / 3.591 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/8.713, allocations: 40.72 kB / 3.591 GB, free: 94.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.715e-06/8.713, allocations: 0 / 3.591 GB, free: 94.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.00136/8.714, allocations: 0.6763 MB / 3.592 GB, free: 94.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/8.714, allocations: 59.75 kB / 3.592 GB, free: 94.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/8.715, allocations: 0.7053 MB / 3.592 GB, free: 94.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.026e-05/8.715, allocations: 42.33 kB / 3.593 GB, free: 94.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/8.715, allocations: 483.7 kB / 3.593 GB, free: 94.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/8.715, allocations: 214.4 kB / 3.593 GB, free: 94.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/8.715, allocations: 7.188 kB / 3.593 GB, free: 94.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/8.715, allocations: 330.1 kB / 3.594 GB, free: 93.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/8.716, allocations: 222.3 kB / 3.594 GB, free: 93.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/8.716, allocations: 376.6 kB / 3.594 GB, free: 93.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/8.717, allocations: 279.5 kB / 3.594 GB, free: 93.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/8.717, allocations: 0 / 3.594 GB, free: 93.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009823/8.718, allocations: 0.6873 MB / 3.595 GB, free: 93.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/8.718, allocations: 451.9 kB / 3.595 GB, free: 93.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/8.718, allocations: 3.219 kB / 3.595 GB, free: 93.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/8.718, allocations: 7.062 kB / 3.595 GB, free: 93.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/8.718, allocations: 138.2 kB / 3.596 GB, free: 93.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/8.718, allocations: 10.08 kB / 3.596 GB, free: 93.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/8.719, allocations: 132 kB / 3.596 GB, free: 93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/8.72, allocations: 27.39 kB / 3.596 GB, free: 93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/8.72, allocations: 3.531 kB / 3.596 GB, free: 93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008104/8.72, allocations: 0.5699 MB / 3.596 GB, free: 92.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/8.72, allocations: 3.906 kB / 3.596 GB, free: 92.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/8.72, allocations: 3.812 kB / 3.596 GB, free: 92.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/8.721, allocations: 129.1 kB / 3.596 GB, free: 92.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/8.721, allocations: 4.438 kB / 3.596 GB, free: 92.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/8.722, allocations: 131 kB / 3.597 GB, free: 92.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/8.722, allocations: 21.75 kB / 3.597 GB, free: 92.97 MB / 0.7136 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.0001976/8.722, allocations: 138.6 kB / 3.597 GB, free: 92.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/8.722, allocations: 103.1 kB / 3.597 GB, free: 92.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/8.723, allocations: 0.7277 MB / 3.598 GB, free: 92.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/8.724, allocations: 7.172 kB / 3.598 GB, free: 92.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/8.724, allocations: 0 / 3.598 GB, free: 92.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007753/8.724, allocations: 0.8792 MB / 3.598 GB, free: 92.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/8.727, allocations: 2.185 MB / 3.601 GB, free: 91.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/8.727, allocations: 7.891 kB / 3.601 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/8.728, allocations: 155.4 kB / 3.601 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/8.728, allocations: 7.469 kB / 3.601 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/8.728, allocations: 23.39 kB / 3.601 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/8.728, allocations: 5.219 kB / 3.601 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/8.728, allocations: 7.844 kB / 3.601 GB, free: 91.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/8.73, allocations: 1.329 MB / 3.602 GB, free: 91.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/8.73, allocations: 253.7 kB / 3.602 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/8.73, allocations: 22.55 kB / 3.602 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/8.731, allocations: 127 kB / 3.602 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/8.731, allocations: 52.83 kB / 3.602 GB, free: 91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/8.731, allocations: 28.19 kB / 3.602 GB, free: 91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007248/8.732, allocations: 0.5569 MB / 3.603 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/8.732, allocations: 0 / 3.603 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002333/8.734, allocations: 0.7667 MB / 3.604 GB, free: 90.85 MB / 0.7136 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.004079/8.739, allocations: 2.32 MB / 3.606 GB, free: 90.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001701/8.74, allocations: 0.9059 MB / 3.607 GB, free: 90.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/8.74, allocations: 8.219 kB / 3.607 GB, free: 90.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/8.741, allocations: 317.9 kB / 3.607 GB, free: 90.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/8.744, allocations: 0.6635 MB / 3.608 GB, free: 90 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/8.747, allocations: 1.735 MB / 3.61 GB, free: 89.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/8.748, allocations: 1.147 MB / 3.611 GB, free: 88.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001459/8.749, allocations: 388.8 kB / 3.611 GB, free: 88.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/8.749, allocations: 64.31 kB / 3.611 GB, free: 88.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/8.749, allocations: 2.656 kB / 3.611 GB, free: 88.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.075/8.824, allocations: 53.93 MB / 3.664 GB, free: 86.96 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)