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.0009915/0.0009915, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009007/0.009007, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001723/0.001723, allocations: 275 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004991, allocations: 19.02 kB / 0.5987 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.5653/0.7765, allocations: 234.5 MB / 0.9142 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.7897, allocations: 7.231 MB / 0.9212 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.7918, allocations: 47.62 kB / 0.9213 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.7939, allocations: 0.5751 MB / 0.9218 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.7999, allocations: 1.954 MB / 0.9237 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.8054, allocations: 1.867 MB / 0.9256 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006024/0.8114, allocations: 4.424 MB / 0.9299 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.8136, allocations: 0.9185 MB / 0.9308 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.818, allocations: 1.572 MB / 0.9323 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.8207, allocations: 0.9474 MB / 0.9332 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.8211, allocations: 48 kB / 0.9333 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005806/0.8269, allocations: 2.829 MB / 0.936 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007662/0.8277, allocations: 390.6 kB / 0.9364 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.8293, allocations: 0.6546 MB / 0.937 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00654/0.8359, allocations: 2.726 MB / 0.9397 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8359, allocations: 4 kB / 0.9397 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8359, allocations: 0 / 0.9397 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.43e-05/0.836, allocations: 0 / 0.9397 GB, free: 10.98 MB / 0.6544 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.003912/0.8399, allocations: 1.478 MB / 0.9412 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.84, allocations: 12.03 kB / 0.9412 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.8431, allocations: 425.9 kB / 0.9416 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.8453, allocations: 0.9639 MB / 0.9425 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.8454, allocations: 69.94 kB / 0.9426 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.8456, allocations: 84 kB / 0.9427 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.8474, allocations: 0.8702 MB / 0.9435 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.8474, allocations: 3.906 kB / 0.9435 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.8475, allocations: 40 kB / 0.9436 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.8475, allocations: 30 kB / 0.9436 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.8491, allocations: 0.8276 MB / 0.9444 GB, free: 6.09 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.005325/0.8544, allocations: 3.643 MB / 0.9479 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.8562, allocations: 1.103 MB / 0.949 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006159/0.8568, allocations: 383.5 kB / 0.9494 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007144/0.8575, allocations: 424.8 kB / 0.9498 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.8576, allocations: 43.12 kB / 0.9498 GB, free: 20 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.8576, allocations: 0 / 0.9498 GB, free: 20 kB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002319/0.8599, allocations: 0.9857 MB / 0.9508 GB, free: 15.03 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.86, allocations: 59.97 kB / 0.9509 GB, free: 14.96 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.861, allocations: 0.84 MB / 0.9517 GB, free: 14.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/0.8611, allocations: 37.7 kB / 0.9517 GB, free: 14.05 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.8615, allocations: 480.1 kB / 0.9522 GB, free: 13.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.8617, allocations: 216.8 kB / 0.9524 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.8618, allocations: 53.7 kB / 0.9524 GB, free: 13.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8619, allocations: 329.9 kB / 0.9527 GB, free: 12.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.8624, allocations: 261 kB / 0.953 GB, free: 12.72 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.863, allocations: 371.5 kB / 0.9533 GB, free: 12.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.8642, allocations: 0.6126 MB / 0.9539 GB, free: 11.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8642, allocations: 0 / 0.9539 GB, free: 11.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001346/0.8656, allocations: 0.7594 MB / 0.9547 GB, free: 10.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/0.8656, allocations: 122.8 kB / 0.9548 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8657, allocations: 0 / 0.9548 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8657, allocations: 4 kB / 0.9548 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.8663, allocations: 131.8 kB / 0.9549 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.8663, allocations: 11.98 kB / 0.9549 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009992/0.8673, allocations: 139.2 kB / 0.9551 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.8674, allocations: 23.98 kB / 0.9551 GB, free: 10.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/0.8674, allocations: 4 kB / 0.9551 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/0.8686, allocations: 0.63 MB / 0.9557 GB, free: 9.855 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8686, allocations: 4 kB / 0.9557 GB, free: 9.852 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.8686, allocations: 8.031 kB / 0.9557 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.8691, allocations: 135.9 kB / 0.9559 GB, free: 9.711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8691, allocations: 4 kB / 0.9559 GB, free: 9.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.87, allocations: 131.4 kB / 0.956 GB, free: 9.578 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.8701, allocations: 20 kB / 0.956 GB, free: 9.559 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.000506/0.8706, allocations: 382.2 kB / 0.9564 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.8708, allocations: 106.7 kB / 0.9565 GB, free: 9.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.8722, allocations: 0.7549 MB / 0.9572 GB, free: 8.305 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.8722, allocations: 7.984 kB / 0.9572 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8723, allocations: 11.94 kB / 0.9572 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.8735, allocations: 0.9229 MB / 0.9581 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.8769, allocations: 2.263 MB / 0.9603 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8769, allocations: 4 kB / 0.9603 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.8776, allocations: 144.2 kB / 0.9605 GB, free: 4.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.8776, allocations: 15.88 kB / 0.9605 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.8777, allocations: 23.98 kB / 0.9605 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.8777, allocations: 4 kB / 0.9605 GB, free: 4.688 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.8777, allocations: 7.938 kB / 0.9605 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.8796, allocations: 1.253 MB / 0.9618 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.88, allocations: 263.7 kB / 0.962 GB, free: 3.094 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.8802, allocations: 15.94 kB / 0.962 GB, free: 3.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.881, allocations: 99.81 kB / 0.9621 GB, free: 2.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.8811, allocations: 52.31 kB / 0.9622 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.8811, allocations: 23.94 kB / 0.9622 GB, free: 2.906 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007753/0.8819, allocations: 0.5862 MB / 0.9628 GB, free: 2.309 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8819, allocations: 0 / 0.9628 GB, free: 2.309 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001264/0.8832, allocations: 0.5377 MB / 0.9633 GB, free: 1.77 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.0005216/0.8837, allocations: 250.9 kB / 0.9635 GB, free: 1.523 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.8855, allocations: 0.9744 MB / 0.9645 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8855, allocations: 0 / 0.9645 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.8861, allocations: 359 kB / 0.9648 GB, free: 204 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.8894, allocations: 0.6177 MB / 0.9654 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.8929, allocations: 2.673 MB / 0.968 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007252/0.8937, allocations: 1.12 MB / 0.9691 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001123/0.8948, allocations: 308 kB / 0.9694 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.895, allocations: 79.42 kB / 0.9695 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of SimCode: time 6.41e-07/0.8951, allocations: 0 / 0.9695 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of Templates: time 0.03458/0.9296, allocations: 19.66 MB / 0.9887 GB, free: 7.953 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)