Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.919/2.919, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001514/0.001514, allocations: 185.3 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.402/2.402, allocations: 205.4 MB / 0.6295 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 95.52 kB / 0.7428 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007752/0.0007755, allocations: 12.66 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2488, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9874/1.236, allocations: 196.6 MB / 1.17 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01764/1.254, allocations: 7.185 MB / 1.177 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/1.256, allocations: 40.41 kB / 1.177 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003614/1.26, allocations: 0.6649 MB / 1.178 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009157/1.269, allocations: 1.904 MB / 1.18 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007687/1.277, allocations: 1.606 MB / 1.181 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005427/1.282, allocations: 1.868 MB / 1.183 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/1.284, allocations: 0.8222 MB / 1.184 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/1.29, allocations: 1.424 MB / 1.185 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/1.292, allocations: 0.6173 MB / 1.186 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/1.292, allocations: 49.56 kB / 1.186 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004504/1.297, allocations: 1.051 MB / 1.187 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008353/1.298, allocations: 359.4 kB / 1.187 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006865/1.298, allocations: 286.3 kB / 1.188 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004168/1.302, allocations: 1.608 MB / 1.189 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.303, allocations: 4 kB / 1.189 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.557e-06/1.303, allocations: 0 / 1.189 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.4e-05/1.303, allocations: 0 / 1.189 GB, free: 11.46 MB / 0.7292 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.004439/1.307, allocations: 1.425 MB / 1.191 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.307, allocations: 10.09 kB / 1.191 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0043/1.311, allocations: 442.3 kB / 1.191 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/1.315, allocations: 0.911 MB / 1.192 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/1.315, allocations: 64.16 kB / 1.192 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/1.315, allocations: 81.38 kB / 1.192 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.318, allocations: 0.8672 MB / 1.193 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/1.318, allocations: 0 / 1.193 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/1.318, allocations: 31.75 kB / 1.193 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/1.318, allocations: 32.2 kB / 1.193 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/1.321, allocations: 0.8258 MB / 1.194 GB, free: 8.473 MB / 0.7292 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.008478/1.329, allocations: 3.631 MB / 1.197 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/1.332, allocations: 1.115 MB / 1.198 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/1.332, allocations: 152.5 kB / 1.199 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/1.332, allocations: 38.06 kB / 1.199 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=60): time 4.348e-06/1.332, allocations: 4 kB / 1.199 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60): time 0.003763/1.336, allocations: 0.9867 MB / 1.2 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/1.336, allocations: 57.78 kB / 1.2 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/1.338, allocations: 0.8219 MB / 1.2 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/1.338, allocations: 43.48 kB / 1.2 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/1.339, allocations: 484.1 kB / 1.201 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/1.339, allocations: 210.5 kB / 1.201 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/1.339, allocations: 10.16 kB / 1.201 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.34, allocations: 327.7 kB / 1.201 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/1.34, allocations: 250.5 kB / 1.202 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.341, allocations: 377.2 kB / 1.202 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/1.342, allocations: 304.3 kB / 1.202 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.343, allocations: 0 / 1.202 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002375/1.345, allocations: 0.7415 MB / 1.203 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/1.345, allocations: 451.1 kB / 1.203 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.345, allocations: 0 / 1.203 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.345, allocations: 13.34 kB / 1.203 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.346, allocations: 132.7 kB / 1.204 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/1.346, allocations: 8.484 kB / 1.204 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.348, allocations: 124.8 kB / 1.204 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/1.348, allocations: 23.53 kB / 1.204 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.348, allocations: 2.812 kB / 1.204 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002032/1.35, allocations: 0.6229 MB / 1.204 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.35, allocations: 0.7031 kB / 1.204 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/1.351, allocations: 5 kB / 1.204 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.352, allocations: 133.4 kB / 1.204 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.352, allocations: 2.438 kB / 1.204 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.353, allocations: 130 kB / 1.205 GB, free: 464 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/1.353, allocations: 18.91 kB / 1.205 GB, free: 460 kB / 0.7292 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.0008628/1.354, allocations: 383.5 kB / 1.205 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/1.355, allocations: 104 kB / 1.205 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.357, allocations: 0.7602 MB / 1.206 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.357, allocations: 5.719 kB / 1.206 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.357, allocations: 0 / 1.206 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00209/1.359, allocations: 0.9214 MB / 1.207 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/1.366, allocations: 2.263 MB / 1.209 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.366, allocations: 7.953 kB / 1.209 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/1.367, allocations: 140.3 kB / 1.209 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.626e-05/1.367, allocations: 11.98 kB / 1.209 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/1.367, allocations: 23.94 kB / 1.209 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/1.367, allocations: 4 kB / 1.209 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.367, allocations: 4 kB / 1.209 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/1.371, allocations: 1.44 MB / 1.211 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008837/1.372, allocations: 259.7 kB / 1.211 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.372, allocations: 20 kB / 1.211 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.374, allocations: 99.75 kB / 1.211 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/1.374, allocations: 56.27 kB / 1.211 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/1.374, allocations: 20 kB / 1.211 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001327/1.376, allocations: 0.5743 MB / 1.212 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.31e-07/1.376, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002199/1.378, allocations: 0.5299 MB / 1.212 GB, free: 9.008 MB / 0.7448 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.0007919/1.379, allocations: 243.7 kB / 1.212 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003242/1.382, allocations: 0.9666 MB / 1.213 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/1.382, allocations: 0 / 1.213 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/1.383, allocations: 351.1 kB / 1.214 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/1.389, allocations: 0.6089 MB / 1.214 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/1.395, allocations: 2.606 MB / 1.217 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.396, allocations: 1.139 MB / 1.218 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002097/1.398, allocations: 304.1 kB / 1.218 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.398, allocations: 79.42 kB / 1.218 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/1.398, allocations: 0 / 1.218 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of Templates: time 0.05674/1.455, allocations: 19.08 MB / 1.237 GB, free: 15.78 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)