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.0009953/0.0009952, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001246/0.001246, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 274.9 kB / 291.4 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 13.06 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.5645/0.7845, allocations: 218.8 MB / 0.8982 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009927/0.7945, allocations: 6.809 MB / 0.9048 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.796, allocations: 43.69 kB / 0.9048 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.7975, allocations: 464.9 kB / 0.9053 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004483/0.802, allocations: 1.54 MB / 0.9068 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.8063, allocations: 1.451 MB / 0.9082 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005384/0.8117, allocations: 3.776 MB / 0.9119 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.8132, allocations: 0.8074 MB / 0.9127 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.8172, allocations: 1.435 MB / 0.9141 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.819, allocations: 0.9027 MB / 0.915 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.8192, allocations: 52 kB / 0.915 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/0.8232, allocations: 1.391 MB / 0.9164 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.8237, allocations: 382.7 kB / 0.9167 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004299/0.8241, allocations: 293 kB / 0.917 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.8265, allocations: 1.785 MB / 0.9188 GB, free: 492 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8265, allocations: 0 / 0.9188 GB, free: 492 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8265, allocations: 3.938 kB / 0.9188 GB, free: 488 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.8265, allocations: 0 / 0.9188 GB, free: 488 kB / 0.6231 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.002491/0.829, allocations: 1.484 MB / 0.9202 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8291, allocations: 12.03 kB / 0.9202 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.8314, allocations: 421.9 kB / 0.9206 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.8328, allocations: 0.9295 MB / 0.9215 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.8329, allocations: 66 kB / 0.9216 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.833, allocations: 84 kB / 0.9217 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.8345, allocations: 0.8663 MB / 0.9225 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.8345, allocations: 4 kB / 0.9225 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/0.8346, allocations: 31.95 kB / 0.9226 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/0.8346, allocations: 34 kB / 0.9226 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.836, allocations: 0.8237 MB / 0.9234 GB, free: 11.63 MB / 0.6387 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.004171/0.8402, allocations: 3.639 MB / 0.9269 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.8416, allocations: 1.113 MB / 0.928 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.8422, allocations: 367.5 kB / 0.9284 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000631/0.8428, allocations: 432.9 kB / 0.9288 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.8428, allocations: 35.12 kB / 0.9288 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 1.773e-06/0.8428, allocations: 3.938 kB / 0.9288 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001892/0.8447, allocations: 0.9858 MB / 0.9298 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.8448, allocations: 55.97 kB / 0.9299 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/0.8458, allocations: 0.8243 MB / 0.9307 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.8458, allocations: 41.7 kB / 0.9307 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.8462, allocations: 484.1 kB / 0.9312 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.8464, allocations: 212.8 kB / 0.9314 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.8464, allocations: 19.94 kB / 0.9314 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.8466, allocations: 333.9 kB / 0.9317 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.847, allocations: 249 kB / 0.9319 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.8475, allocations: 371.4 kB / 0.9323 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.8481, allocations: 310 kB / 0.9326 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8481, allocations: 0 / 0.9326 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001196/0.8493, allocations: 0.7438 MB / 0.9333 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-05/0.8494, allocations: 121 kB / 0.9334 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.8494, allocations: 4 kB / 0.9334 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8494, allocations: 12.03 kB / 0.9334 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.85, allocations: 123.9 kB / 0.9336 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.85, allocations: 7.984 kB / 0.9336 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007855/0.8508, allocations: 127.4 kB / 0.9337 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.8508, allocations: 27.98 kB / 0.9337 GB, free: 464 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/0.8508, allocations: 11.89 kB / 0.9337 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/0.8519, allocations: 0.6216 MB / 0.9343 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.8519, allocations: 4.125 kB / 0.9343 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.8519, allocations: 4 kB / 0.9343 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.8524, allocations: 131.8 kB / 0.9345 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.8524, allocations: 4 kB / 0.9345 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007274/0.8532, allocations: 135.3 kB / 0.9346 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.8532, allocations: 20 kB / 0.9346 GB, free: 15.53 MB / 0.6544 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.000462/0.8537, allocations: 381.6 kB / 0.935 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.8538, allocations: 106.7 kB / 0.9351 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.8551, allocations: 0.7627 MB / 0.9358 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.8552, allocations: 11.88 kB / 0.9358 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8552, allocations: 3.984 kB / 0.9358 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/0.8563, allocations: 0.919 MB / 0.9367 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.8594, allocations: 2.263 MB / 0.939 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8594, allocations: 1 kB / 0.939 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.86, allocations: 143.8 kB / 0.9391 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.86, allocations: 4 kB / 0.9391 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.8601, allocations: 19.98 kB / 0.9391 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.8601, allocations: 15.89 kB / 0.9391 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8601, allocations: 4.188 kB / 0.9391 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.8619, allocations: 1.265 MB / 0.9404 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.8622, allocations: 251.8 kB / 0.9406 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.8623, allocations: 19.98 kB / 0.9406 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.863, allocations: 99.75 kB / 0.9407 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.8631, allocations: 56.39 kB / 0.9408 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.8632, allocations: 24 kB / 0.9408 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007145/0.8639, allocations: 0.5744 MB / 0.9414 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8639, allocations: 4 kB / 0.9414 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001137/0.8651, allocations: 0.5338 MB / 0.9419 GB, free: 7.766 MB / 0.6544 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 (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.0004261/0.8655, allocations: 237.9 kB / 0.9421 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.8672, allocations: 0.9625 MB / 0.9431 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8672, allocations: 0 / 0.9431 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.8677, allocations: 354.6 kB / 0.9434 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.8703, allocations: 0.6301 MB / 0.944 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.8738, allocations: 2.637 MB / 0.9466 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.8744, allocations: 1.124 MB / 0.9477 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001116/0.8756, allocations: 300.1 kB / 0.948 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.8758, allocations: 83.42 kB / 0.948 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.8758, allocations: 3.938 kB / 0.948 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of Templates: time 0.03116/0.907, allocations: 19.08 MB / 0.9667 GB, free: 14.58 MB / 0.6856 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)