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.65/1.65, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001163/0.001163, allocations: 183.3 kB / 371.6 MB, free: 3.359 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.706/1.706, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008611/0.0008611, allocations: 94.91 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.939e-05/4.942e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3238, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/5.947, allocations: 2.083 GB / 3.063 GB, free: 173.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/5.947, allocations: 90.03 kB / 3.063 GB, free: 173.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.765/9.712, allocations: 0.9165 GB / 3.979 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/9.712, allocations: 0 / 3.979 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001136/9.712, allocations: 41.14 kB / 3.98 GB, free: 130.6 MB / 0.9636 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.003436/9.716, allocations: 1.53 MB / 3.981 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/9.716, allocations: 11.31 kB / 3.981 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/9.718, allocations: 414 kB / 3.981 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/9.72, allocations: 1.059 MB / 3.982 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.466e-05/9.721, allocations: 61.06 kB / 3.982 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/9.721, allocations: 92.73 kB / 3.983 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/9.722, allocations: 0.7953 MB / 3.983 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/9.722, allocations: 0 / 3.983 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/9.722, allocations: 34 kB / 3.983 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/9.722, allocations: 27.59 kB / 3.983 GB, free: 129.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/9.723, allocations: 0.7157 MB / 3.984 GB, free: 129.8 MB / 0.9636 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.004356/9.728, allocations: 3.66 MB / 3.988 GB, free: 128.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/9.729, allocations: 1.061 MB / 3.989 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/9.729, allocations: 350.6 kB / 3.989 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/9.73, allocations: 401.8 kB / 3.989 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/9.73, allocations: 40.64 kB / 3.989 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/9.73, allocations: 0 / 3.989 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.001347/9.731, allocations: 0.6735 MB / 3.99 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/9.731, allocations: 58.5 kB / 3.99 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/9.732, allocations: 0.7016 MB / 3.991 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/9.732, allocations: 41.89 kB / 3.991 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/9.733, allocations: 484.5 kB / 3.991 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/9.733, allocations: 210.9 kB / 3.992 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/9.733, allocations: 13.88 kB / 3.992 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/9.733, allocations: 333 kB / 3.992 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/9.733, allocations: 225.6 kB / 3.992 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/9.734, allocations: 370.5 kB / 3.992 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/9.734, allocations: 282.5 kB / 3.993 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/9.734, allocations: 0 / 3.993 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009315/9.735, allocations: 0.6864 MB / 3.993 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/9.735, allocations: 458.1 kB / 3.994 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/9.735, allocations: 0 / 3.994 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/9.735, allocations: 10.2 kB / 3.994 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/9.736, allocations: 135.6 kB / 3.994 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/9.736, allocations: 3.125 kB / 3.994 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/9.737, allocations: 130.7 kB / 3.994 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/9.737, allocations: 27.36 kB / 3.994 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/9.737, allocations: 3.844 kB / 3.994 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008093/9.738, allocations: 0.5699 MB / 3.995 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/9.738, allocations: 1.844 kB / 3.995 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/9.738, allocations: 3.281 kB / 3.995 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/9.738, allocations: 132.8 kB / 3.995 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/9.738, allocations: 5.531 kB / 3.995 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/9.739, allocations: 126 kB / 3.995 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/9.739, allocations: 23.81 kB / 3.995 GB, free: 125.6 MB / 0.9636 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.0001507/9.739, allocations: 151.5 kB / 3.995 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/9.74, allocations: 99.69 kB / 3.995 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/9.741, allocations: 0.723 MB / 3.996 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/9.741, allocations: 6.719 kB / 3.996 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/9.741, allocations: 0 / 3.996 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008883/9.742, allocations: 0.8768 MB / 3.997 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/9.745, allocations: 2.194 MB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/9.745, allocations: 3.125 kB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/9.746, allocations: 156 kB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/9.746, allocations: 9.562 kB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/9.746, allocations: 16.41 kB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/9.746, allocations: 5.656 kB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/9.746, allocations: 6.25 kB / 3.999 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/9.747, allocations: 1.326 MB / 4 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/9.747, allocations: 263.7 kB / 4.001 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/9.748, allocations: 24.47 kB / 4.001 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/9.748, allocations: 119.8 kB / 4.001 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/9.749, allocations: 51.55 kB / 4.001 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/9.749, allocations: 26.66 kB / 4.001 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006861/9.749, allocations: 0.5577 MB / 4.001 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.443e-06/9.749, allocations: 3.125 kB / 4.001 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002298/9.752, allocations: 0.7724 MB / 4.002 GB, free: 123.5 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 () * 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.003154/9.755, allocations: 2.306 MB / 4.004 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001533/9.756, allocations: 0.9072 MB / 4.005 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/9.756, allocations: 4.688 kB / 4.005 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004576/9.757, allocations: 313.2 kB / 4.006 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/9.76, allocations: 0.6684 MB / 4.006 GB, free: 122.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/9.763, allocations: 1.741 MB / 4.008 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/9.763, allocations: 1.148 MB / 4.009 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001356/9.765, allocations: 379.6 kB / 4.009 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/9.765, allocations: 66.41 kB / 4.01 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/9.765, allocations: 0 / 4.01 GB, free: 121.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.09251/9.857, allocations: 53.87 MB / 4.062 GB, free: 120.1 MB / 0.9636 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)