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.841/1.841, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001615/0.001615, allocations: 188.9 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009677/0.0009677, allocations: 105.4 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3088, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.928/6.237, allocations: 2.083 GB / 3.072 GB, free: 136.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/6.237, allocations: 91.95 kB / 3.072 GB, free: 136.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.863/10.1, allocations: 0.9174 GB / 3.989 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.943e-06/10.1, allocations: 0 / 3.989 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001263/10.1, allocations: 37.98 kB / 3.989 GB, free: 129.4 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.005228/10.11, allocations: 1.751 MB / 3.991 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/10.11, allocations: 9.688 kB / 3.991 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/10.11, allocations: 419.6 kB / 3.991 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/10.11, allocations: 1.07 MB / 3.992 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/10.11, allocations: 68.12 kB / 3.992 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/10.11, allocations: 84.55 kB / 3.992 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/10.11, allocations: 0.8379 MB / 3.993 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/10.11, allocations: 2.812 kB / 3.993 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/10.11, allocations: 36.03 kB / 3.993 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/10.11, allocations: 26.66 kB / 3.993 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/10.12, allocations: 0.792 MB / 3.994 GB, free: 128.5 MB / 0.9636 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.005137/10.12, allocations: 3.669 MB / 3.998 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/10.12, allocations: 1.097 MB / 3.999 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/10.12, allocations: 410.6 kB / 3.999 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/10.12, allocations: 42.12 kB / 3.999 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 3.387e-06/10.12, allocations: 0 / 3.999 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.00215/10.12, allocations: 1.008 MB / 4 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/10.12, allocations: 60.41 kB / 4 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009672/10.13, allocations: 0.717 MB / 4.001 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/10.13, allocations: 40.3 kB / 4.001 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/10.13, allocations: 477.7 kB / 4.001 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/10.13, allocations: 214.4 kB / 4.002 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/10.13, allocations: 10.22 kB / 4.002 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/10.13, allocations: 331.4 kB / 4.002 GB, free: 125 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/10.13, allocations: 262 kB / 4.002 GB, free: 125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/10.13, allocations: 412 kB / 4.002 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/10.13, allocations: 319.6 kB / 4.003 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/10.13, allocations: 3.312 kB / 4.003 GB, free: 124.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001237/10.13, allocations: 0.7577 MB / 4.004 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/10.13, allocations: 463.8 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/10.13, allocations: 2.312 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/10.13, allocations: 7.422 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/10.13, allocations: 128.8 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/10.13, allocations: 6.719 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/10.13, allocations: 130.2 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/10.13, allocations: 24.56 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/10.13, allocations: 4.031 kB / 4.004 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/10.13, allocations: 0.6457 MB / 4.005 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/10.13, allocations: 3.094 kB / 4.005 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/10.13, allocations: 3.156 kB / 4.005 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/10.13, allocations: 134 kB / 4.005 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/10.13, allocations: 3.406 kB / 4.005 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/10.13, allocations: 132.7 kB / 4.005 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/10.13, allocations: 24 kB / 4.005 GB, free: 124.3 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 () * 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.0006727/10.13, allocations: 387 kB / 4.006 GB, free: 124.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/10.13, allocations: 99.53 kB / 4.006 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/10.14, allocations: 0.8035 MB / 4.006 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/10.14, allocations: 6.531 kB / 4.006 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/10.14, allocations: 0 / 4.006 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/10.14, allocations: 0.9518 MB / 4.007 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/10.14, allocations: 2.257 MB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/10.14, allocations: 3.375 kB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/10.14, allocations: 161.3 kB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/10.14, allocations: 6.094 kB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/10.14, allocations: 20.27 kB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/10.14, allocations: 8.094 kB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/10.14, allocations: 6.25 kB / 4.01 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/10.14, allocations: 1.435 MB / 4.011 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/10.14, allocations: 260.9 kB / 4.011 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/10.14, allocations: 20.89 kB / 4.011 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009258/10.14, allocations: 125 kB / 4.012 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/10.15, allocations: 54.36 kB / 4.012 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/10.15, allocations: 23.14 kB / 4.012 GB, free: 122.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007746/10.15, allocations: 0.571 MB / 4.012 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/10.15, allocations: 0 / 4.012 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002511/10.15, allocations: 0.769 MB / 4.013 GB, free: 122.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.003819/10.15, allocations: 2.314 MB / 4.015 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002061/10.15, allocations: 0.9836 MB / 4.016 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/10.15, allocations: 5.906 kB / 4.016 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/10.16, allocations: 354.3 kB / 4.017 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003804/10.16, allocations: 0.669 MB / 4.017 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/10.16, allocations: 2.614 MB / 4.02 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/10.16, allocations: 1.146 MB / 4.021 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001378/10.16, allocations: 289.1 kB / 4.021 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/10.17, allocations: 82.88 kB / 4.021 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of SimCode: time 9.82e-07/10.17, allocations: 0 / 4.021 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.08504/10.25, allocations: 46.21 MB / 4.066 GB, free: 117.8 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)