Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.167/2.167, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 173 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009598/0.0009596, allocations: 97.61 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004813, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.238, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.141/7.379, allocations: 2.2 GB / 3.1 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/7.38, allocations: 95.27 kB / 3.1 GB, free: 244.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.388/11.77, allocations: 0.888 GB / 3.988 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.515e-06/11.77, allocations: 0 / 3.988 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001815/11.77, allocations: 35.98 kB / 3.988 GB, free: 106.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.006339/11.77, allocations: 1.753 MB / 3.99 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/11.77, allocations: 8.031 kB / 3.99 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/11.78, allocations: 420.9 kB / 3.99 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003928/11.78, allocations: 1.07 MB / 3.991 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.508e-05/11.78, allocations: 66 kB / 3.991 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/11.78, allocations: 95.94 kB / 3.991 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/11.79, allocations: 0.8545 MB / 3.992 GB, free: 102 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/11.79, allocations: 7.922 kB / 3.992 GB, free: 102 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/11.79, allocations: 32 kB / 3.992 GB, free: 102 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/11.79, allocations: 30 kB / 3.992 GB, free: 102 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/11.79, allocations: 0.7925 MB / 3.993 GB, free: 101.2 MB / 0.8855 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.007771/11.8, allocations: 3.688 MB / 3.997 GB, free: 97.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/11.8, allocations: 1.094 MB / 3.998 GB, free: 96 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009729/11.8, allocations: 374.3 kB / 3.998 GB, free: 95.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/11.8, allocations: 404.9 kB / 3.998 GB, free: 95.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/11.8, allocations: 39.06 kB / 3.998 GB, free: 95.12 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.076e-06/11.8, allocations: 4 kB / 3.998 GB, free: 95.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003483/11.8, allocations: 1.005 MB / 3.999 GB, free: 94.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/11.8, allocations: 55.97 kB / 3.999 GB, free: 94.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/11.81, allocations: 0.836 MB / 4 GB, free: 93.18 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002323/11.81, allocations: 37.7 kB / 4 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/11.81, allocations: 484.1 kB / 4.001 GB, free: 92.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/11.81, allocations: 208.9 kB / 4.001 GB, free: 92.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/11.81, allocations: 15.17 kB / 4.001 GB, free: 92.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/11.81, allocations: 329.9 kB / 4.001 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/11.81, allocations: 261 kB / 4.002 GB, free: 91.85 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/11.81, allocations: 416.5 kB / 4.002 GB, free: 91.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008971/11.81, allocations: 318.8 kB / 4.002 GB, free: 91.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/11.81, allocations: 0 / 4.002 GB, free: 91.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002262/11.81, allocations: 0.7594 MB / 4.003 GB, free: 90.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/11.81, allocations: 123.5 kB / 4.003 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/11.81, allocations: 0 / 4.003 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/11.81, allocations: 4 kB / 4.003 GB, free: 90.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/11.81, allocations: 143.8 kB / 4.003 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/11.81, allocations: 0 / 4.003 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/11.82, allocations: 135.4 kB / 4.003 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/11.82, allocations: 20 kB / 4.003 GB, free: 89.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/11.82, allocations: 4 kB / 4.003 GB, free: 89.88 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001888/11.82, allocations: 0.6417 MB / 4.004 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/11.82, allocations: 0 / 4.004 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/11.82, allocations: 11.92 kB / 4.004 GB, free: 89.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/11.82, allocations: 139.9 kB / 4.004 GB, free: 89.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/11.82, allocations: 0 / 4.004 GB, free: 89.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/11.82, allocations: 135.3 kB / 4.004 GB, free: 88.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/11.82, allocations: 24 kB / 4.004 GB, free: 88.93 MB / 0.8855 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.0008522/11.82, allocations: 380.9 kB / 4.005 GB, free: 88.55 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/11.82, allocations: 106.4 kB / 4.005 GB, free: 88.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/11.82, allocations: 0.7937 MB / 4.006 GB, free: 87.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/11.82, allocations: 15.98 kB / 4.006 GB, free: 87.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/11.82, allocations: 0 / 4.006 GB, free: 87.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001845/11.83, allocations: 0.9463 MB / 4.006 GB, free: 86.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/11.83, allocations: 2.269 MB / 4.009 GB, free: 84.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/11.83, allocations: 0 / 4.009 GB, free: 84.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/11.83, allocations: 159.5 kB / 4.009 GB, free: 84.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/11.83, allocations: 7.938 kB / 4.009 GB, free: 84.04 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/11.83, allocations: 20 kB / 4.009 GB, free: 84.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/11.83, allocations: 4 kB / 4.009 GB, free: 84.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/11.83, allocations: 4 kB / 4.009 GB, free: 84.01 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/11.84, allocations: 1.284 MB / 4.01 GB, free: 82.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/11.84, allocations: 267.7 kB / 4.01 GB, free: 82.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/11.84, allocations: 16 kB / 4.01 GB, free: 82.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/11.84, allocations: 127.8 kB / 4.011 GB, free: 82.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/11.84, allocations: 52.25 kB / 4.011 GB, free: 82.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/11.84, allocations: 24 kB / 4.011 GB, free: 82.17 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001197/11.84, allocations: 0.5744 MB / 4.011 GB, free: 81.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/11.84, allocations: 0 / 4.011 GB, free: 81.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002959/11.84, allocations: 0.7799 MB / 4.012 GB, free: 80.8 MB / 0.8855 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.00396/11.85, allocations: 2.32 MB / 4.014 GB, free: 78.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003023/11.85, allocations: 0.9741 MB / 4.015 GB, free: 77.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/11.85, allocations: 4 kB / 4.015 GB, free: 77.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/11.85, allocations: 350.7 kB / 4.015 GB, free: 77.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006356/11.86, allocations: 0.6763 MB / 4.016 GB, free: 76.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/11.86, allocations: 2.629 MB / 4.019 GB, free: 73.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/11.86, allocations: 1.132 MB / 4.02 GB, free: 72.52 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002063/11.87, allocations: 292.1 kB / 4.02 GB, free: 72.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/11.87, allocations: 83.42 kB / 4.02 GB, free: 72.15 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/11.87, allocations: 0 / 4.02 GB, free: 72.15 MB / 0.8855 GB Notification: Performance of Templates: time 0.1008/11.97, allocations: 46.37 MB / 4.065 GB, free: 26.02 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)