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 1.796/1.796, allocations: 287.5 MB / 302.6 MB, free: 8.27 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.001034/0.001034, allocations: 184.8 kB / 371.2 MB, free: 10.84 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.791/1.791, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008288/0.0008287, allocations: 104.2 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004178, allocations: 14.53 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.7978/1.053, allocations: 218.8 MB / 1.192 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01271/1.066, allocations: 6.752 MB / 1.199 GB, free: 3.242 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/1.068, allocations: 44.34 kB / 1.199 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/1.07, allocations: 462.8 kB / 1.199 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.005534/1.075, allocations: 1.522 MB / 1.201 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005008/1.08, allocations: 1.46 MB / 1.202 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.005557/1.086, allocations: 3.777 MB / 1.206 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/1.088, allocations: 0.8994 MB / 1.207 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/1.092, allocations: 1.425 MB / 1.208 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/1.093, allocations: 0.9136 MB / 1.209 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/1.093, allocations: 49.28 kB / 1.209 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/1.097, allocations: 1.39 MB / 1.211 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/1.098, allocations: 383.6 kB / 1.211 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000502/1.098, allocations: 283.5 kB / 1.211 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/1.101, allocations: 1.787 MB / 1.213 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.101, allocations: 0 / 1.213 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/1.101, allocations: 4 kB / 1.213 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.749e-05/1.101, allocations: 0 / 1.213 GB, free: 10.26 MB / 0.7448 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.002739/1.104, allocations: 1.47 MB / 1.214 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.104, allocations: 9.156 kB / 1.214 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/1.106, allocations: 427.5 kB / 1.215 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.108, allocations: 0.9547 MB / 1.216 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/1.108, allocations: 59.41 kB / 1.216 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.108, allocations: 85.22 kB / 1.216 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.11, allocations: 0.8761 MB / 1.217 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/1.11, allocations: 0 / 1.217 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.739e-05/1.11, allocations: 36.06 kB / 1.217 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/1.11, allocations: 26.62 kB / 1.217 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/1.111, allocations: 0.8189 MB / 1.218 GB, free: 7.074 MB / 0.7448 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.004884/1.116, allocations: 3.638 MB / 1.221 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/1.118, allocations: 1.096 MB / 1.222 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/1.118, allocations: 390.2 kB / 1.223 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007162/1.119, allocations: 416.9 kB / 1.223 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.119, allocations: 47.06 kB / 1.223 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/1.119, allocations: 4 kB / 1.223 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.002063/1.121, allocations: 0.978 MB / 1.224 GB, free: 32 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.121, allocations: 59.97 kB / 1.224 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.122, allocations: 0.8277 MB / 1.225 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/1.122, allocations: 41.7 kB / 1.225 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/1.123, allocations: 476.2 kB / 1.225 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.123, allocations: 208.9 kB / 1.226 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/1.123, allocations: 12 kB / 1.226 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.123, allocations: 326 kB / 1.226 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/1.124, allocations: 260.9 kB / 1.226 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005664/1.124, allocations: 376.2 kB / 1.227 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.125, allocations: 0.6008 MB / 1.227 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.125, allocations: 0 / 1.227 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001426/1.127, allocations: 0.7476 MB / 1.228 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.127, allocations: 126.8 kB / 1.228 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.127, allocations: 0 / 1.228 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.127, allocations: 7.984 kB / 1.228 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/1.128, allocations: 127.8 kB / 1.228 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/1.128, allocations: 4.625 kB / 1.228 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/1.129, allocations: 119.4 kB / 1.228 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/1.129, allocations: 27.98 kB / 1.228 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/1.129, allocations: 4 kB / 1.228 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/1.13, allocations: 0.6183 MB / 1.229 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/1.13, allocations: 7.938 kB / 1.229 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/1.13, allocations: 4.125 kB / 1.229 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/1.13, allocations: 131.9 kB / 1.229 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.13, allocations: 7.938 kB / 1.229 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/1.131, allocations: 128.6 kB / 1.229 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/1.131, allocations: 27.94 kB / 1.229 GB, free: 10.67 MB / 0.7605 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.0005689/1.132, allocations: 380.9 kB / 1.229 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.132, allocations: 102.7 kB / 1.23 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/1.133, allocations: 0.7595 MB / 1.23 GB, free: 9.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.133, allocations: 4 kB / 1.23 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.133, allocations: 7.984 kB / 1.23 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/1.135, allocations: 0.9229 MB / 1.231 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/1.138, allocations: 2.255 MB / 1.233 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.138, allocations: 4 kB / 1.233 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/1.139, allocations: 144.3 kB / 1.234 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/1.139, allocations: 7.938 kB / 1.234 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/1.139, allocations: 19.98 kB / 1.234 GB, free: 5.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.139, allocations: 11.94 kB / 1.234 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.139, allocations: 4 kB / 1.234 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/1.141, allocations: 1.276 MB / 1.235 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/1.141, allocations: 263.7 kB / 1.235 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.141, allocations: 16 kB / 1.235 GB, free: 4.184 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/1.142, allocations: 99.8 kB / 1.235 GB, free: 4.086 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.142, allocations: 56.27 kB / 1.235 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/1.142, allocations: 27.92 kB / 1.235 GB, free: 4.004 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007494/1.143, allocations: 0.5704 MB / 1.236 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.6e-07/1.143, allocations: 0 / 1.236 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001347/1.144, allocations: 0.5338 MB / 1.236 GB, free: 2.887 MB / 0.7605 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.0005183/1.145, allocations: 240.7 kB / 1.237 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001796/1.147, allocations: 0.9588 MB / 1.238 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.147, allocations: 3.938 kB / 1.238 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/1.147, allocations: 351.1 kB / 1.238 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/1.151, allocations: 0.6093 MB / 1.238 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/1.154, allocations: 2.606 MB / 1.241 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/1.155, allocations: 1.124 MB / 1.242 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001107/1.156, allocations: 296.1 kB / 1.242 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/1.156, allocations: 79.42 kB / 1.242 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/1.156, allocations: 0 / 1.242 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of Templates: time 0.03399/1.19, allocations: 19.13 MB / 1.261 GB, free: 9.637 MB / 0.7917 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)