Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007184/0.007185, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.635/1.635, allocations: 252 MB / 0.5105 GB, free: 4.641 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006887/0.0006886, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6144, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7564/1.371, allocations: 234.9 MB / 0.9581 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01119/1.382, allocations: 7.265 MB / 0.9652 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/1.385, allocations: 43.44 kB / 0.9653 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/1.387, allocations: 0.5872 MB / 0.9658 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005355/1.392, allocations: 1.956 MB / 0.9677 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004536/1.397, allocations: 1.873 MB / 0.9696 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00459/1.401, allocations: 4.493 MB / 0.974 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/1.403, allocations: 0.9299 MB / 0.9749 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/1.407, allocations: 1.59 MB / 0.9764 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/1.409, allocations: 0.958 MB / 0.9774 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/1.409, allocations: 49.94 kB / 0.9774 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004654/1.413, allocations: 2.825 MB / 0.9802 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004877/1.414, allocations: 390.2 kB / 0.9805 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008603/1.415, allocations: 0.6682 MB / 0.9812 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00389/1.419, allocations: 2.757 MB / 0.9839 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.419, allocations: 3.531 kB / 0.9839 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/1.419, allocations: 0 / 0.9839 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.823e-05/1.419, allocations: 4 kB / 0.9839 GB, free: 16.74 MB / 0.7325 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.002603/1.421, allocations: 1.476 MB / 0.9853 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.421, allocations: 10.98 kB / 0.9853 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/1.424, allocations: 422.9 kB / 0.9857 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.425, allocations: 0.9608 MB / 0.9867 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/1.425, allocations: 61.94 kB / 0.9867 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.426, allocations: 91.2 kB / 0.9868 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.427, allocations: 0.8863 MB / 0.9877 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.427, allocations: 0 / 0.9877 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.143e-05/1.427, allocations: 34.73 kB / 0.9877 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/1.427, allocations: 28 kB / 0.9877 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/1.429, allocations: 0.8342 MB / 0.9886 GB, free: 15.36 MB / 0.7325 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.004453/1.433, allocations: 3.654 MB / 0.9921 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/1.434, allocations: 1.097 MB / 0.9932 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/1.435, allocations: 381.1 kB / 0.9936 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/1.436, allocations: 420.4 kB / 0.994 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/1.436, allocations: 41.06 kB / 0.994 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 2.384e-06/1.436, allocations: 0 / 0.994 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.002011/1.438, allocations: 0.9879 MB / 0.995 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.438, allocations: 57.62 kB / 0.995 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/1.439, allocations: 0.8352 MB / 0.9958 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/1.439, allocations: 46.45 kB / 0.9959 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/1.439, allocations: 481 kB / 0.9963 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/1.439, allocations: 204.6 kB / 0.9965 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/1.439, allocations: 53.5 kB / 0.9966 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.44, allocations: 332.3 kB / 0.9969 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/1.44, allocations: 253.8 kB / 0.9971 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/1.441, allocations: 384.6 kB / 0.9975 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/1.442, allocations: 0.6043 MB / 0.9981 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.442, allocations: 3.938 kB / 0.9981 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001239/1.443, allocations: 0.7526 MB / 0.9988 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/1.443, allocations: 117.1 kB / 0.999 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.443, allocations: 1.875 kB / 0.999 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/1.443, allocations: 9.828 kB / 0.999 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/1.443, allocations: 132.5 kB / 0.9991 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.443, allocations: 9.875 kB / 0.9991 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009351/1.444, allocations: 130.3 kB / 0.9992 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.444, allocations: 24.88 kB / 0.9993 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/1.444, allocations: 6.625 kB / 0.9993 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/1.446, allocations: 0.6242 MB / 0.9999 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/1.446, allocations: 3.5 kB / 0.9999 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/1.446, allocations: 1.781 kB / 0.9999 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/1.446, allocations: 132.6 kB / 1 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.446, allocations: 7.328 kB / 1 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/1.447, allocations: 124.9 kB / 1 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/1.447, allocations: 24.98 kB / 1 GB, free: 10.21 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005364/1.448, allocations: 385 kB / 1.001 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.448, allocations: 105.1 kB / 1.001 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.449, allocations: 0.7471 MB / 1.001 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.449, allocations: 5.844 kB / 1.001 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.449, allocations: 5.5 kB / 1.001 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/1.45, allocations: 0.9233 MB / 1.002 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.454, allocations: 2.265 MB / 1.004 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.454, allocations: 8.562 kB / 1.004 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/1.454, allocations: 151.3 kB / 1.005 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.454, allocations: 6.75 kB / 1.005 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/1.454, allocations: 19.7 kB / 1.005 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/1.454, allocations: 5.625 kB / 1.005 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.454, allocations: 6.938 kB / 1.005 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/1.456, allocations: 1.277 MB / 1.006 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/1.457, allocations: 276.2 kB / 1.006 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.457, allocations: 13.94 kB / 1.006 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/1.458, allocations: 108.8 kB / 1.006 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/1.458, allocations: 57.69 kB / 1.006 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/1.458, allocations: 21.84 kB / 1.006 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000777/1.459, allocations: 0.5844 MB / 1.007 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.41e-07/1.459, allocations: 0 / 1.007 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00127/1.46, allocations: 0.5395 MB / 1.007 GB, free: 5.883 MB / 0.7325 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000525/1.461, allocations: 237.3 kB / 1.008 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001629/1.462, allocations: 0.9695 MB / 1.009 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.462, allocations: 0 / 1.009 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005386/1.463, allocations: 348.7 kB / 1.009 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.466, allocations: 0.6246 MB / 1.01 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/1.469, allocations: 2.644 MB / 1.012 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/1.47, allocations: 1.13 MB / 1.013 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00103/1.471, allocations: 299.7 kB / 1.014 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/1.471, allocations: 82.17 kB / 1.014 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of SimCode: time 6.02e-07/1.471, allocations: 0 / 1.014 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.03145/1.503, allocations: 19.83 MB / 1.033 GB, free: 15.75 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) Environment - environmentSimulation: