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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 252 MB / 267.6 MB, free: 10.93 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.000944/0.0009441, allocations: 175.2 kB / 327.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.0007248/0.0007247, allocations: 91.97 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003269, allocations: 8.812 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2337, allocations: 106.3 MB / 0.9008 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7836/1.017, allocations: 219.2 MB / 1.115 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01133/1.029, allocations: 6.865 MB / 1.122 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/1.031, allocations: 41.47 kB / 1.122 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/1.033, allocations: 468.5 kB / 1.122 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004783/1.038, allocations: 1.537 MB / 1.124 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004295/1.042, allocations: 1.46 MB / 1.125 GB, free: 3.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005039/1.047, allocations: 3.823 MB / 1.129 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/1.048, allocations: 0.8129 MB / 1.13 GB, free: 3.086 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003816/1.052, allocations: 1.442 MB / 1.131 GB, free: 3.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/1.054, allocations: 0.914 MB / 1.132 GB, free: 3.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/1.054, allocations: 48.88 kB / 1.132 GB, free: 3.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003982/1.058, allocations: 1.395 MB / 1.133 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004507/1.058, allocations: 389.3 kB / 1.134 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/1.059, allocations: 288.7 kB / 1.134 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/1.062, allocations: 1.81 MB / 1.136 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.062, allocations: 0 / 1.136 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.685e-06/1.062, allocations: 2.938 kB / 1.136 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.105e-05/1.062, allocations: 3.938 kB / 1.136 GB, free: 18.87 MB / 0.7136 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.002866/1.065, allocations: 1.494 MB / 1.137 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.065, allocations: 8.469 kB / 1.137 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/1.067, allocations: 422.8 kB / 1.138 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/1.069, allocations: 0.9301 MB / 1.138 GB, free: 17.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/1.069, allocations: 62.12 kB / 1.138 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/1.069, allocations: 85.73 kB / 1.139 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.071, allocations: 0.8762 MB / 1.139 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.071, allocations: 4.625 kB / 1.139 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.205e-05/1.071, allocations: 31.84 kB / 1.139 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/1.071, allocations: 32.03 kB / 1.139 GB, free: 17.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/1.073, allocations: 0.8222 MB / 1.14 GB, free: 17.52 MB / 0.7136 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.005295/1.078, allocations: 3.651 MB / 1.144 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/1.08, allocations: 1.098 MB / 1.145 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005632/1.08, allocations: 379.7 kB / 1.145 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007282/1.081, allocations: 415.9 kB / 1.146 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.081, allocations: 39.91 kB / 1.146 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/1.081, allocations: 1.75 kB / 1.146 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001987/1.083, allocations: 0.9799 MB / 1.147 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/1.083, allocations: 60.62 kB / 1.147 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.084, allocations: 0.827 MB / 1.148 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/1.084, allocations: 40.36 kB / 1.148 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/1.085, allocations: 484.9 kB / 1.148 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.085, allocations: 211.1 kB / 1.148 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/1.085, allocations: 10.12 kB / 1.148 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.085, allocations: 335.3 kB / 1.149 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/1.085, allocations: 248 kB / 1.149 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/1.086, allocations: 383.7 kB / 1.149 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/1.086, allocations: 299.4 kB / 1.149 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.086, allocations: 0 / 1.149 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001224/1.088, allocations: 0.7426 MB / 1.15 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/1.088, allocations: 119.2 kB / 1.15 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.088, allocations: 2.969 kB / 1.15 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.088, allocations: 2.844 kB / 1.15 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/1.088, allocations: 129.2 kB / 1.15 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.088, allocations: 6.219 kB / 1.15 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.089, allocations: 125 kB / 1.151 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/1.09, allocations: 30.88 kB / 1.151 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/1.09, allocations: 6.219 kB / 1.151 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/1.091, allocations: 0.6143 MB / 1.151 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-06/1.091, allocations: 10.38 kB / 1.151 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/1.091, allocations: 2.938 kB / 1.151 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/1.091, allocations: 130.1 kB / 1.151 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.091, allocations: 6.438 kB / 1.151 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/1.092, allocations: 122.1 kB / 1.151 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/1.092, allocations: 20.91 kB / 1.151 GB, free: 12.11 MB / 0.7136 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.0004808/1.093, allocations: 384.2 kB / 1.152 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.093, allocations: 104.5 kB / 1.152 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.094, allocations: 0.7734 MB / 1.153 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/1.094, allocations: 5.094 kB / 1.153 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/1.094, allocations: 0 / 1.153 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.095, allocations: 0.9109 MB / 1.154 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/1.098, allocations: 2.265 MB / 1.156 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.098, allocations: 3.75 kB / 1.156 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/1.099, allocations: 147.5 kB / 1.156 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/1.099, allocations: 6.031 kB / 1.156 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/1.099, allocations: 18.77 kB / 1.156 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/1.099, allocations: 8.297 kB / 1.156 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.099, allocations: 4.312 kB / 1.156 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.101, allocations: 1.275 MB / 1.157 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/1.102, allocations: 266.8 kB / 1.157 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.102, allocations: 19.78 kB / 1.158 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/1.103, allocations: 114.3 kB / 1.158 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/1.103, allocations: 42.47 kB / 1.158 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/1.103, allocations: 28.8 kB / 1.158 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008263/1.104, allocations: 0.5739 MB / 1.158 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/1.104, allocations: 0 / 1.158 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001571/1.105, allocations: 0.5335 MB / 1.159 GB, free: 9.086 MB / 0.7136 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 (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.0006821/1.106, allocations: 248.9 kB / 1.159 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001786/1.108, allocations: 0.9578 MB / 1.16 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.108, allocations: 0 / 1.16 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006079/1.108, allocations: 353.5 kB / 1.16 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/1.111, allocations: 0.6263 MB / 1.161 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/1.115, allocations: 2.693 MB / 1.164 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/1.115, allocations: 1.125 MB / 1.165 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/1.115, allocations: 83.8 kB / 1.165 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/1.115, allocations: 0 / 1.165 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.02568/1.141, allocations: 17.09 MB / 1.181 GB, free: 8.68 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (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)