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.428/1.428, allocations: 252 MB / 268 MB, free: 10.84 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.001016/0.001016, allocations: 167.3 kB / 327.6 MB, free: 2.094 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.647/1.647, allocations: 205.4 MB / 0.5786 GB, free: 20.45 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.0008183/0.0008183, allocations: 98.44 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 9.938 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1887, allocations: 106.3 MB / 0.9014 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6857/0.8744, allocations: 234.9 MB / 1.131 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.8851, allocations: 7.257 MB / 1.138 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.8872, allocations: 41.31 kB / 1.138 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.8891, allocations: 0.5737 MB / 1.139 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.8945, allocations: 1.965 MB / 1.14 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.8994, allocations: 1.886 MB / 1.142 GB, free: 464 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00555/0.905, allocations: 4.497 MB / 1.147 GB, free: 452 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.9068, allocations: 0.9255 MB / 1.148 GB, free: 296 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004992/0.9118, allocations: 1.599 MB / 1.149 GB, free: 268 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.9147, allocations: 0.9668 MB / 1.15 GB, free: 228 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.9149, allocations: 47.31 kB / 1.15 GB, free: 228 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005955/0.9209, allocations: 2.838 MB / 1.153 GB, free: 196 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007291/0.9217, allocations: 390.1 kB / 1.153 GB, free: 144 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.9229, allocations: 0.6639 MB / 1.154 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.9259, allocations: 1.966 MB / 1.156 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.926, allocations: 0 / 1.156 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.926, allocations: 0 / 1.156 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.926, allocations: 0 / 1.156 GB, free: 14.97 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.002587/0.9286, allocations: 1.479 MB / 1.157 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9286, allocations: 8.562 kB / 1.157 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.9311, allocations: 424.3 kB / 1.158 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.9327, allocations: 0.9594 MB / 1.159 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.9328, allocations: 64.41 kB / 1.159 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.9329, allocations: 88.28 kB / 1.159 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.9344, allocations: 0.8852 MB / 1.16 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.9344, allocations: 0 / 1.16 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.9345, allocations: 34.69 kB / 1.16 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.9345, allocations: 30.75 kB / 1.16 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.9359, allocations: 0.8259 MB / 1.161 GB, free: 12.89 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.00475/0.9407, allocations: 3.658 MB / 1.164 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.9421, allocations: 1.095 MB / 1.165 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.9427, allocations: 381 kB / 1.166 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/0.9434, allocations: 417.6 kB / 1.166 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.9434, allocations: 42.72 kB / 1.166 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.9434, allocations: 0 / 1.166 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002046/0.9455, allocations: 0.9873 MB / 1.167 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.9455, allocations: 58.12 kB / 1.167 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.9465, allocations: 0.8329 MB / 1.168 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.9466, allocations: 43.91 kB / 1.168 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.947, allocations: 479.5 kB / 1.168 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.9472, allocations: 217.6 kB / 1.169 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.9472, allocations: 14.91 kB / 1.169 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.9473, allocations: 332.3 kB / 1.169 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.9478, allocations: 253.7 kB / 1.169 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.9484, allocations: 382.6 kB / 1.169 GB, free: 6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.9495, allocations: 0.6008 MB / 1.17 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9495, allocations: 0 / 1.17 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001303/0.9508, allocations: 0.7516 MB / 1.171 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.9509, allocations: 131.2 kB / 1.171 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.9509, allocations: 0 / 1.171 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9509, allocations: 2.938 kB / 1.171 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.9515, allocations: 136 kB / 1.171 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.9515, allocations: 7.094 kB / 1.171 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000951/0.9525, allocations: 128.1 kB / 1.171 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.9525, allocations: 25.61 kB / 1.171 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.984e-06/0.9526, allocations: 3.5 kB / 1.171 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.9536, allocations: 0.6215 MB / 1.172 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.9537, allocations: 6.906 kB / 1.172 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.9537, allocations: 3.594 kB / 1.172 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.9542, allocations: 132.7 kB / 1.172 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.9542, allocations: 3.156 kB / 1.172 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/0.9551, allocations: 124.9 kB / 1.172 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.9551, allocations: 22.5 kB / 1.172 GB, free: 4.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.9557, allocations: 390.1 kB / 1.172 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.9558, allocations: 99.88 kB / 1.173 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.9572, allocations: 0.759 MB / 1.173 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.9572, allocations: 6.188 kB / 1.173 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9572, allocations: 0 / 1.173 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/0.9585, allocations: 0.9174 MB / 1.174 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.962, allocations: 2.277 MB / 1.176 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.962, allocations: 2.688 kB / 1.176 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.9627, allocations: 146.3 kB / 1.177 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.9627, allocations: 7.031 kB / 1.177 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.9628, allocations: 20.78 kB / 1.177 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.9628, allocations: 7.406 kB / 1.177 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.9628, allocations: 8.719 kB / 1.177 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.9648, allocations: 1.283 MB / 1.178 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.9652, allocations: 267.6 kB / 1.178 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.9654, allocations: 14.75 kB / 1.178 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008384/0.9662, allocations: 105.2 kB / 1.178 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.9663, allocations: 45.88 kB / 1.178 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.9664, allocations: 29.98 kB / 1.178 GB, free: 440 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007719/0.9672, allocations: 0.5835 MB / 1.179 GB, free: 88 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9672, allocations: 0 / 1.179 GB, free: 88 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001364/0.9686, allocations: 0.5404 MB / 1.179 GB, free: 15.98 MB / 0.7292 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.0005378/0.9691, allocations: 254.6 kB / 1.18 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.9709, allocations: 0.957 MB / 1.181 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9709, allocations: 320 / 1.181 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/0.9715, allocations: 352.3 kB / 1.181 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.9748, allocations: 0.6144 MB / 1.182 GB, free: 14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.9785, allocations: 2.712 MB / 1.184 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.9792, allocations: 1.128 MB / 1.185 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.9795, allocations: 83.42 kB / 1.185 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.9795, allocations: 0 / 1.185 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of Templates: time 0.02526/1.005, allocations: 17.09 MB / 1.202 GB, free: 9.035 MB / 0.7448 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)