Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001429/0.001429, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001553/0.001553, allocations: 190.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002095, allocations: 294.6 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 92.52 kB / 0.5947 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.173, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.6516/0.8246, allocations: 237 MB / 0.911 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.013/0.8377, allocations: 7.173 MB / 0.918 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.8401, allocations: 47.62 kB / 0.9181 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.8423, allocations: 0.6063 MB / 0.9187 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005579/0.8479, allocations: 1.951 MB / 0.9206 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004882/0.8527, allocations: 1.885 MB / 0.9224 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004433/0.8572, allocations: 3.277 MB / 0.9256 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001791/0.859, allocations: 1.088 MB / 0.9267 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.8631, allocations: 1.794 MB / 0.9284 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.8653, allocations: 1.019 MB / 0.9294 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.8657, allocations: 124 kB / 0.9295 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004903/0.8706, allocations: 2.583 MB / 0.9321 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007038/0.8713, allocations: 458.7 kB / 0.9325 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.8728, allocations: 0.7233 MB / 0.9332 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005153/0.878, allocations: 2.824 MB / 0.936 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.878, allocations: 7.984 kB / 0.936 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.263e-06/0.878, allocations: 0 / 0.936 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.36e-05/0.8781, allocations: 0 / 0.936 GB, free: 1.332 MB / 0.6387 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.003842/0.8819, allocations: 1.71 MB / 0.9376 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.882, allocations: 8.031 kB / 0.9376 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/0.8849, allocations: 425.9 kB / 0.9381 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.8868, allocations: 0.9715 MB / 0.939 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.8868, allocations: 62 kB / 0.9391 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.887, allocations: 84 kB / 0.9391 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.8889, allocations: 0.865 MB / 0.94 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.8889, allocations: 0 / 0.94 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-05/0.889, allocations: 32 kB / 0.94 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.8891, allocations: 26 kB / 0.94 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.8906, allocations: 0.8081 MB / 0.9408 GB, free: 12.25 MB / 0.6544 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.00532/0.896, allocations: 3.635 MB / 0.9444 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.8975, allocations: 1.096 MB / 0.9455 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.8981, allocations: 367.5 kB / 0.9458 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/0.8988, allocations: 408.8 kB / 0.9462 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.8989, allocations: 51.05 kB / 0.9462 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.935e-06/0.8989, allocations: 0 / 0.9462 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002141/0.9011, allocations: 0.9546 MB / 0.9472 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.9011, allocations: 55.97 kB / 0.9472 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.9023, allocations: 0.8361 MB / 0.948 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.9024, allocations: 37.7 kB / 0.9481 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.9028, allocations: 492 kB / 0.9485 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.903, allocations: 208.9 kB / 0.9487 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.9032, allocations: 114.1 kB / 0.9489 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9033, allocations: 329.9 kB / 0.9492 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.9038, allocations: 262.9 kB / 0.9494 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.9044, allocations: 363.5 kB / 0.9498 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.9054, allocations: 0.593 MB / 0.9503 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.9054, allocations: 0 / 0.9503 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001429/0.9069, allocations: 0.7359 MB / 0.9511 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.9069, allocations: 4 kB / 0.9511 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9069, allocations: 4 kB / 0.9511 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.907, allocations: 12.11 kB / 0.9511 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.9076, allocations: 123.8 kB / 0.9512 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/0.9076, allocations: 7.984 kB / 0.9512 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/0.9086, allocations: 119.4 kB / 0.9513 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.9087, allocations: 27.98 kB / 0.9513 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007885/0.9095, allocations: 497.7 kB / 0.9518 GB, free: 384 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005732/0.9101, allocations: 363.5 kB / 0.9522 GB, free: 15.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.9111, allocations: 0.5774 MB / 0.9527 GB, free: 15.39 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.9111, allocations: 0 / 0.9527 GB, free: 15.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00144/0.9126, allocations: 0.7164 MB / 0.9534 GB, free: 14.67 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9126, allocations: 16.06 kB / 0.9534 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.9126, allocations: 0 / 0.9534 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.9126, allocations: 6.875 kB / 0.9535 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.9132, allocations: 131.8 kB / 0.9536 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.9132, allocations: 4 kB / 0.9536 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.9142, allocations: 123.5 kB / 0.9537 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.9142, allocations: 20 kB / 0.9537 GB, free: 14.38 MB / 0.67 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.0002256/0.9144, allocations: 216.7 kB / 0.9539 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.9147, allocations: 102.7 kB / 0.954 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.9162, allocations: 0.7472 MB / 0.9548 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.9162, allocations: 11.94 kB / 0.9548 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.9162, allocations: 1.25 kB / 0.9548 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.9173, allocations: 0.8995 MB / 0.9556 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/0.9214, allocations: 2.248 MB / 0.9578 GB, free: 9.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9214, allocations: 7.938 kB / 0.9579 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.9221, allocations: 135.8 kB / 0.958 GB, free: 9.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.9221, allocations: 4 kB / 0.958 GB, free: 9.773 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.9222, allocations: 16 kB / 0.958 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.9222, allocations: 8 kB / 0.958 GB, free: 9.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.9222, allocations: 7.938 kB / 0.958 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.9243, allocations: 1.222 MB / 0.9592 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.9248, allocations: 271.7 kB / 0.9595 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.925, allocations: 12 kB / 0.9595 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008892/0.9259, allocations: 93.34 kB / 0.9596 GB, free: 8.074 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.926, allocations: 56.25 kB / 0.9596 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.9261, allocations: 20 kB / 0.9596 GB, free: 8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009711/0.927, allocations: 0.5862 MB / 0.9602 GB, free: 7.402 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9271, allocations: 0 / 0.9602 GB, free: 7.402 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001574/0.9286, allocations: 0.5415 MB / 0.9607 GB, free: 6.859 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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.0005585/0.9292, allocations: 245.7 kB / 0.961 GB, free: 6.621 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002067/0.9313, allocations: 1.001 MB / 0.962 GB, free: 5.621 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.9313, allocations: 11.94 kB / 0.962 GB, free: 5.609 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.9319, allocations: 343.5 kB / 0.9623 GB, free: 5.277 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.9346, allocations: 0.6002 MB / 0.9629 GB, free: 4.695 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.9385, allocations: 2.566 MB / 0.9654 GB, free: 2.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007729/0.9393, allocations: 1.124 MB / 0.9665 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001113/0.9405, allocations: 300.1 kB / 0.9668 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.9407, allocations: 79.44 kB / 0.9668 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.9407, allocations: 3.938 kB / 0.9668 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of Templates: time 0.03287/0.9736, allocations: 20.16 MB / 0.9865 GB, free: 12.69 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)