Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001465/0.001465, allocations: 112.7 kB / 16.41 MB, free: 6.5 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.001514/0.001514, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8753/0.8753, allocations: 122.9 MB / 414.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 75.39 kB / 0.5685 GB, free: 28.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1726, allocations: 77.94 MB / 0.6446 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.753/0.9257, allocations: 239.8 MB / 0.8788 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.937, allocations: 7.216 MB / 0.8859 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.9392, allocations: 51.69 kB / 0.8859 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.9413, allocations: 0.7104 MB / 0.8866 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006807/0.9481, allocations: 2.057 MB / 0.8886 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005858/0.954, allocations: 2.041 MB / 0.8906 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005481/0.9595, allocations: 3.277 MB / 0.8938 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.9617, allocations: 1.138 MB / 0.8949 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.9663, allocations: 1.782 MB / 0.8967 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002427/0.9688, allocations: 0.9774 MB / 0.8976 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004612/0.9692, allocations: 120 kB / 0.8977 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005153/0.9744, allocations: 2.486 MB / 0.9001 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007025/0.9751, allocations: 462.7 kB / 0.9006 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.9764, allocations: 0.7233 MB / 0.9013 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.981, allocations: 2.687 MB / 0.9039 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.981, allocations: 4 kB / 0.9039 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.981, allocations: 0 / 0.9039 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.981, allocations: 4 kB / 0.9039 GB, free: 1.879 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.002654/0.9837, allocations: 1.753 MB / 0.9056 GB, free: 72 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9837, allocations: 8.625 kB / 0.9056 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.9863, allocations: 426.8 kB / 0.9061 GB, free: 15.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.9879, allocations: 1.035 MB / 0.9071 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.988, allocations: 69.94 kB / 0.9071 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.9881, allocations: 80 kB / 0.9072 GB, free: 14.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.9897, allocations: 0.8624 MB / 0.9081 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.9897, allocations: 3.953 kB / 0.9081 GB, free: 13.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.9898, allocations: 28 kB / 0.9081 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.9898, allocations: 34 kB / 0.9081 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.9913, allocations: 0.8042 MB / 0.9089 GB, free: 12.68 MB / 0.67 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.004472/0.9958, allocations: 3.655 MB / 0.9125 GB, free: 8.734 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.9972, allocations: 1.088 MB / 0.9135 GB, free: 7.531 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.9979, allocations: 366.2 kB / 0.9139 GB, free: 7.172 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006877/0.9986, allocations: 416.8 kB / 0.9143 GB, free: 6.691 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.9986, allocations: 43.06 kB / 0.9143 GB, free: 6.641 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/0.9986, allocations: 4 kB / 0.9143 GB, free: 6.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002224/1.001, allocations: 0.9551 MB / 0.9153 GB, free: 5.676 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/1.001, allocations: 63.97 kB / 0.9153 GB, free: 5.602 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.002, allocations: 0.8438 MB / 0.9161 GB, free: 4.734 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/1.002, allocations: 37.7 kB / 0.9162 GB, free: 4.691 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/1.003, allocations: 480.8 kB / 0.9166 GB, free: 4.215 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/1.003, allocations: 234 kB / 0.9169 GB, free: 3.984 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.003, allocations: 102.2 kB / 0.917 GB, free: 3.879 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.003, allocations: 334 kB / 0.9173 GB, free: 3.547 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/1.004, allocations: 255.8 kB / 0.9175 GB, free: 3.297 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/1.004, allocations: 371.4 kB / 0.9179 GB, free: 2.898 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.005, allocations: 0.5852 MB / 0.9184 GB, free: 2.297 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.005, allocations: 7.938 kB / 0.9185 GB, free: 2.289 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001406/1.007, allocations: 0.7403 MB / 0.9192 GB, free: 1.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.007, allocations: 4 kB / 0.9192 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.007, allocations: 0 / 0.9192 GB, free: 1.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/1.007, allocations: 7.984 kB / 0.9192 GB, free: 1.531 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/1.008, allocations: 133 kB / 0.9193 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.008, allocations: 0 / 0.9193 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/1.008, allocations: 71.58 kB / 0.9194 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/1.008, allocations: 24 kB / 0.9194 GB, free: 1.309 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000845/1.009, allocations: 497 kB / 0.9199 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005911/1.01, allocations: 363.5 kB / 0.9202 GB, free: 440 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001013/1.011, allocations: 0.5813 MB / 0.9208 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/1.011, allocations: 1.875 kB / 0.9208 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001343/1.012, allocations: 0.7287 MB / 0.9215 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.012, allocations: 11.94 kB / 0.9215 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/1.012, allocations: 192 / 0.9215 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/1.012, allocations: 4 kB / 0.9215 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/1.013, allocations: 128.4 kB / 0.9216 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.013, allocations: 4 kB / 0.9216 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/1.014, allocations: 63.86 kB / 0.9217 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/1.014, allocations: 20 kB / 0.9217 GB, free: 14.87 MB / 0.6856 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.0002228/1.014, allocations: 220.1 kB / 0.9219 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/1.014, allocations: 119.2 kB / 0.9221 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/1.015, allocations: 0.7393 MB / 0.9228 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.015, allocations: 4 kB / 0.9228 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.015, allocations: 0 / 0.9228 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/1.017, allocations: 0.9033 MB / 0.9237 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/1.02, allocations: 2.24 MB / 0.9258 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.02, allocations: 11.88 kB / 0.9259 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/1.021, allocations: 136.2 kB / 0.926 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.021, allocations: 8 kB / 0.926 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/1.021, allocations: 16 kB / 0.926 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.021, allocations: 11.98 kB / 0.926 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.021, allocations: 9.5 kB / 0.926 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.023, allocations: 1.227 MB / 0.9272 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/1.023, allocations: 264.3 kB / 0.9275 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.024, allocations: 19.98 kB / 0.9275 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/1.024, allocations: 48.02 kB / 0.9275 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/1.024, allocations: 48.31 kB / 0.9276 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/1.024, allocations: 24 kB / 0.9276 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007952/1.025, allocations: 0.5862 MB / 0.9282 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.6e-07/1.025, allocations: 3.938 kB / 0.9282 GB, free: 7.926 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001184/1.026, allocations: 0.5419 MB / 0.9287 GB, free: 7.383 MB / 0.6856 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.0005221/1.027, allocations: 237.7 kB / 0.9289 GB, free: 7.152 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001752/1.029, allocations: 0.9427 MB / 0.9299 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.029, allocations: 0 / 0.9299 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/1.029, allocations: 347.5 kB / 0.9302 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.032, allocations: 0.5981 MB / 0.9308 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/1.035, allocations: 2.168 MB / 0.9329 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/1.036, allocations: 1.123 MB / 0.934 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009742/1.037, allocations: 304.1 kB / 0.9343 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/1.037, allocations: 79.42 kB / 0.9344 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/1.037, allocations: 0 / 0.9344 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of Templates: time 0.03514/1.072, allocations: 20.49 MB / 0.9544 GB, free: 13.3 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)