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.001449/0.001449, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 294.5 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 93.05 kB / 0.5952 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1948, allocations: 86.99 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.5888/0.7836, allocations: 239.9 MB / 0.9144 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.7947, allocations: 7.209 MB / 0.9214 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.7964, allocations: 51.69 kB / 0.9215 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.7984, allocations: 0.695 MB / 0.9222 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005677/0.8041, allocations: 2.07 MB / 0.9242 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005482/0.8096, allocations: 2.023 MB / 0.9262 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004666/0.8143, allocations: 3.258 MB / 0.9294 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.816, allocations: 1.131 MB / 0.9305 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.8203, allocations: 1.782 MB / 0.9322 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.8222, allocations: 0.9781 MB / 0.9332 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.8224, allocations: 120 kB / 0.9333 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005672/0.8281, allocations: 2.486 MB / 0.9357 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007354/0.8289, allocations: 458.7 kB / 0.9361 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.8304, allocations: 0.7233 MB / 0.9368 GB, free: 392 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00609/0.8365, allocations: 2.668 MB / 0.9394 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8365, allocations: 0 / 0.9394 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8365, allocations: 0 / 0.9394 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.913e-05/0.8366, allocations: 0 / 0.9394 GB, free: 13.71 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.003338/0.8399, allocations: 1.706 MB / 0.9411 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.8399, allocations: 12.03 kB / 0.9411 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.8426, allocations: 425.9 kB / 0.9415 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.8441, allocations: 0.9639 MB / 0.9425 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.8441, allocations: 58 kB / 0.9425 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.8443, allocations: 84 kB / 0.9426 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.8458, allocations: 0.8701 MB / 0.9435 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.8458, allocations: 0 / 0.9435 GB, free: 9.496 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.8459, allocations: 36 kB / 0.9435 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.8459, allocations: 33.92 kB / 0.9435 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.8474, allocations: 0.8078 MB / 0.9443 GB, free: 8.625 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.004418/0.8518, allocations: 3.678 MB / 0.9479 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.8533, allocations: 1.086 MB / 0.949 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.8539, allocations: 367.5 kB / 0.9493 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.8546, allocations: 412.8 kB / 0.9497 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.8546, allocations: 43.12 kB / 0.9497 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.275e-06/0.8546, allocations: 0 / 0.9497 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002091/0.8567, allocations: 0.9545 MB / 0.9507 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.8568, allocations: 63.97 kB / 0.9507 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.8578, allocations: 0.8321 MB / 0.9516 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.8579, allocations: 45.7 kB / 0.9516 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.8582, allocations: 480.1 kB / 0.9521 GB, free: 156 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.8584, allocations: 216.9 kB / 0.9523 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.8586, allocations: 114.2 kB / 0.9524 GB, free: 15.82 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.8587, allocations: 326 kB / 0.9527 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.8592, allocations: 255 kB / 0.9529 GB, free: 15.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.8598, allocations: 371.4 kB / 0.9533 GB, free: 14.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.8609, allocations: 0.5891 MB / 0.9539 GB, free: 14.24 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8609, allocations: 0 / 0.9539 GB, free: 14.24 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001313/0.8622, allocations: 0.7398 MB / 0.9546 GB, free: 13.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8622, allocations: 8 kB / 0.9546 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8622, allocations: 0 / 0.9546 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8623, allocations: 4 kB / 0.9546 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.8628, allocations: 127.8 kB / 0.9547 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.8629, allocations: 4 kB / 0.9547 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/0.8636, allocations: 75.59 kB / 0.9548 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.8636, allocations: 20 kB / 0.9548 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007791/0.8644, allocations: 0.4899 MB / 0.9553 GB, free: 12.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005479/0.865, allocations: 367.4 kB / 0.9556 GB, free: 12.38 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009734/0.866, allocations: 0.5735 MB / 0.9562 GB, free: 11.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.866, allocations: 0 / 0.9562 GB, free: 11.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001218/0.8672, allocations: 0.7242 MB / 0.9569 GB, free: 11.06 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.8672, allocations: 12.06 kB / 0.9569 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.8672, allocations: 4 kB / 0.9569 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.8673, allocations: 4 kB / 0.9569 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.8678, allocations: 119.9 kB / 0.957 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.8678, allocations: 8.125 kB / 0.957 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.8686, allocations: 59.64 kB / 0.9571 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.8686, allocations: 27.94 kB / 0.9571 GB, free: 10.83 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.0001961/0.8688, allocations: 216.8 kB / 0.9573 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.869, allocations: 106.6 kB / 0.9574 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.8705, allocations: 0.7344 MB / 0.9582 GB, free: 9.766 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.8705, allocations: 8 kB / 0.9582 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8705, allocations: 7.938 kB / 0.9582 GB, free: 9.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/0.8718, allocations: 0.9033 MB / 0.9591 GB, free: 8.762 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.8753, allocations: 2.243 MB / 0.9612 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.8753, allocations: 7.938 kB / 0.9612 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.876, allocations: 131.9 kB / 0.9614 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.876, allocations: 4.406 kB / 0.9614 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.8761, allocations: 27.98 kB / 0.9614 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.8761, allocations: 11.94 kB / 0.9614 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.8761, allocations: 7.984 kB / 0.9614 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.878, allocations: 1.217 MB / 0.9626 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.8784, allocations: 264.8 kB / 0.9629 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.8786, allocations: 15.98 kB / 0.9629 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.8793, allocations: 35.97 kB / 0.9629 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.8794, allocations: 60.25 kB / 0.963 GB, free: 4.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.8795, allocations: 23.98 kB / 0.963 GB, free: 4.504 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008482/0.8804, allocations: 0.5862 MB / 0.9636 GB, free: 3.906 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8804, allocations: 0 / 0.9636 GB, free: 3.906 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001394/0.8818, allocations: 0.5298 MB / 0.9641 GB, free: 3.375 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.0005591/0.8823, allocations: 255.9 kB / 0.9643 GB, free: 3.129 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00205/0.8844, allocations: 1.005 MB / 0.9653 GB, free: 2.129 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8844, allocations: 0 / 0.9653 GB, free: 2.129 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.885, allocations: 351.5 kB / 0.9656 GB, free: 1.789 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.8878, allocations: 0.5959 MB / 0.9662 GB, free: 1.203 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.8914, allocations: 2.173 MB / 0.9684 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.8922, allocations: 1.12 MB / 0.9694 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001119/0.8933, allocations: 307.9 kB / 0.9697 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.8936, allocations: 79.44 kB / 0.9698 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/0.8936, allocations: 3.938 kB / 0.9698 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of Templates: time 0.03659/0.9302, allocations: 20.37 MB / 0.9897 GB, free: 9.383 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)