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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.854/1.854, allocations: 293 MB / 309 MB, free: 4.805 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.001078/0.001078, allocations: 184.1 kB / 378.7 MB, free: 1.02 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.848/1.848, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.000789/0.0007888, allocations: 95.17 kB / 0.7527 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004211, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2746, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.376/5.65, allocations: 2.083 GB / 3.074 GB, free: 132.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/5.65, allocations: 96.97 kB / 3.074 GB, free: 132.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.612/9.262, allocations: 0.9154 GB / 3.989 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.984e-06/9.262, allocations: 2.438 kB / 3.989 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002159/9.263, allocations: 35.02 kB / 3.989 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.006396/9.269, allocations: 1.738 MB / 3.991 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/9.269, allocations: 9.156 kB / 3.991 GB, free: 130.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/9.272, allocations: 414.5 kB / 3.991 GB, free: 130 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/9.276, allocations: 1.104 MB / 3.993 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.841e-05/9.276, allocations: 68.75 kB / 3.993 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/9.276, allocations: 89.12 kB / 3.993 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/9.279, allocations: 0.8448 MB / 3.993 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/9.279, allocations: 7.156 kB / 3.993 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/9.279, allocations: 42.25 kB / 3.994 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/9.279, allocations: 32.03 kB / 3.994 GB, free: 129.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/9.281, allocations: 0.7873 MB / 3.994 GB, free: 129.6 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.006706/9.288, allocations: 3.66 MB / 3.998 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/9.289, allocations: 1.101 MB / 3.999 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/9.29, allocations: 383.6 kB / 3.999 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006003/9.29, allocations: 407.8 kB / 4 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/9.29, allocations: 40.19 kB / 4 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 3.797e-06/9.29, allocations: 0 / 4 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.002348/9.293, allocations: 1.011 MB / 4.001 GB, free: 127 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/9.293, allocations: 62 kB / 4.001 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/9.294, allocations: 0.8225 MB / 4.002 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/9.294, allocations: 39.11 kB / 4.002 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/9.295, allocations: 480.5 kB / 4.002 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/9.295, allocations: 216.8 kB / 4.002 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/9.295, allocations: 11.39 kB / 4.002 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/9.295, allocations: 331 kB / 4.003 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/9.296, allocations: 262 kB / 4.003 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/9.296, allocations: 414 kB / 4.003 GB, free: 126 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/9.298, allocations: 0.626 MB / 4.004 GB, free: 126 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/9.298, allocations: 3.125 kB / 4.004 GB, free: 126 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001496/9.299, allocations: 0.7608 MB / 4.005 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/9.299, allocations: 127.7 kB / 4.005 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/9.299, allocations: 3.312 kB / 4.005 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/9.299, allocations: 3.375 kB / 4.005 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/9.3, allocations: 139 kB / 4.005 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/9.3, allocations: 3.312 kB / 4.005 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/9.301, allocations: 126.2 kB / 4.005 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/9.301, allocations: 27.27 kB / 4.005 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/9.301, allocations: 3.125 kB / 4.005 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/9.302, allocations: 0.644 MB / 4.006 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/9.302, allocations: 3.469 kB / 4.006 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.822e-06/9.302, allocations: 3.344 kB / 4.006 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/9.303, allocations: 131.4 kB / 4.006 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/9.303, allocations: 4.938 kB / 4.006 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/9.304, allocations: 133.3 kB / 4.006 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/9.304, allocations: 29.64 kB / 4.006 GB, free: 125.7 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.0009425/9.305, allocations: 378.7 kB / 4.006 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/9.306, allocations: 109.4 kB / 4.006 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/9.307, allocations: 0.7896 MB / 4.007 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/9.308, allocations: 9.562 kB / 4.007 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/9.308, allocations: 7.125 kB / 4.007 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/9.309, allocations: 0.9541 MB / 4.008 GB, free: 125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/9.313, allocations: 2.254 MB / 4.01 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/9.313, allocations: 2.969 kB / 4.01 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/9.314, allocations: 165.4 kB / 4.011 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/9.314, allocations: 3.594 kB / 4.011 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/9.314, allocations: 19.56 kB / 4.011 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/9.314, allocations: 5.75 kB / 4.011 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/9.314, allocations: 3.781 kB / 4.011 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/9.316, allocations: 1.283 MB / 4.012 GB, free: 124 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005946/9.316, allocations: 261.1 kB / 4.012 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/9.316, allocations: 22.91 kB / 4.012 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/9.317, allocations: 129.9 kB / 4.012 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/9.318, allocations: 45.61 kB / 4.012 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/9.318, allocations: 30.44 kB / 4.012 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0008273/9.318, allocations: 0.5687 MB / 4.013 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/9.318, allocations: 2.062 kB / 4.013 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002493/9.321, allocations: 0.7738 MB / 4.014 GB, free: 123.7 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.00432/9.325, allocations: 2.342 MB / 4.016 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00205/9.327, allocations: 0.9782 MB / 4.017 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/9.327, allocations: 2.156 kB / 4.017 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000595/9.328, allocations: 361.6 kB / 4.017 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/9.332, allocations: 0.6661 MB / 4.018 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/9.335, allocations: 2.624 MB / 4.02 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/9.336, allocations: 1.125 MB / 4.022 GB, free: 121 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001305/9.337, allocations: 286.4 kB / 4.022 GB, free: 121 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/9.337, allocations: 85.72 kB / 4.022 GB, free: 121 MB / 0.9636 GB Notification: Performance of SimCode: time 6.42e-07/9.337, allocations: 0 / 4.022 GB, free: 121 MB / 0.9636 GB Notification: Performance of Templates: time 0.08682/9.424, allocations: 46.8 MB / 4.068 GB, free: 119.4 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)