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.001209/0.001209, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001186/0.001186, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8068/0.8068, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.06 kB / 0.5685 GB, free: 28.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1454, allocations: 77.93 MB / 0.6446 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.7247/0.8701, allocations: 239.8 MB / 0.8788 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01391/0.884, allocations: 7.22 MB / 0.8859 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.8873, allocations: 51.69 kB / 0.8859 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.8901, allocations: 0.7027 MB / 0.8866 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.8967, allocations: 2.066 MB / 0.8886 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005688/0.9024, allocations: 2.041 MB / 0.8906 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.9075, allocations: 3.281 MB / 0.8938 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.9098, allocations: 1.136 MB / 0.8949 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/0.9158, allocations: 1.786 MB / 0.8967 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.9187, allocations: 0.9683 MB / 0.8976 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005575/0.9193, allocations: 120 kB / 0.8977 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006438/0.9258, allocations: 2.49 MB / 0.9002 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009917/0.9268, allocations: 454.7 kB / 0.9006 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/0.9287, allocations: 0.7272 MB / 0.9013 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.9353, allocations: 2.69 MB / 0.9039 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9353, allocations: 0 / 0.9039 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9354, allocations: 0 / 0.9039 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.954e-05/0.9354, allocations: 4 kB / 0.9039 GB, free: 2.074 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.004161/0.9396, allocations: 1.753 MB / 0.9056 GB, free: 272 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9397, allocations: 8.625 kB / 0.9056 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.9426, allocations: 430.7 kB / 0.9061 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.9447, allocations: 1.031 MB / 0.9071 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.9448, allocations: 65.94 kB / 0.9071 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.945, allocations: 84 kB / 0.9072 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.9468, allocations: 0.8663 MB / 0.9081 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.9468, allocations: 3.953 kB / 0.9081 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.9469, allocations: 32 kB / 0.9081 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.947, allocations: 30 kB / 0.9081 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.9485, allocations: 0.8081 MB / 0.9089 GB, free: 12.87 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.00497/0.9535, allocations: 3.647 MB / 0.9125 GB, free: 8.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.955, allocations: 1.086 MB / 0.9135 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.9555, allocations: 374.9 kB / 0.9139 GB, free: 7.359 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006445/0.9562, allocations: 408.8 kB / 0.9143 GB, free: 6.887 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.9562, allocations: 51.06 kB / 0.9143 GB, free: 6.828 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.246e-06/0.9562, allocations: 0 / 0.9143 GB, free: 6.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002075/0.9583, allocations: 0.9551 MB / 0.9153 GB, free: 5.867 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.9584, allocations: 63.97 kB / 0.9153 GB, free: 5.793 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.9594, allocations: 0.8399 MB / 0.9161 GB, free: 4.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/0.9595, allocations: 41.7 kB / 0.9162 GB, free: 4.883 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.9599, allocations: 476.8 kB / 0.9166 GB, free: 4.41 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.9601, allocations: 233.9 kB / 0.9169 GB, free: 4.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.9602, allocations: 106.2 kB / 0.917 GB, free: 4.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9604, allocations: 330 kB / 0.9173 GB, free: 3.742 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.9608, allocations: 259 kB / 0.9175 GB, free: 3.488 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.9614, allocations: 371.4 kB / 0.9179 GB, free: 3.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.9624, allocations: 0.5813 MB / 0.9184 GB, free: 2.492 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9624, allocations: 5.938 kB / 0.9184 GB, free: 2.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001317/0.9638, allocations: 0.7403 MB / 0.9192 GB, free: 1.742 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.9638, allocations: 4 kB / 0.9192 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9638, allocations: 3.984 kB / 0.9192 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.9638, allocations: 4 kB / 0.9192 GB, free: 1.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/0.9644, allocations: 135.9 kB / 0.9193 GB, free: 1.598 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.9644, allocations: 4 kB / 0.9193 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007268/0.9652, allocations: 67.58 kB / 0.9194 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.9652, allocations: 24 kB / 0.9194 GB, free: 1.504 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007937/0.966, allocations: 493 kB / 0.9199 GB, free: 1.02 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005485/0.9666, allocations: 363.5 kB / 0.9202 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009929/0.9676, allocations: 0.5813 MB / 0.9208 GB, free: 32 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.9676, allocations: 1.562 kB / 0.9208 GB, free: 32 kB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001226/0.9688, allocations: 0.7287 MB / 0.9215 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.9689, allocations: 11.94 kB / 0.9215 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.9689, allocations: 0 / 0.9215 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.9689, allocations: 4 kB / 0.9215 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.9694, allocations: 123.8 kB / 0.9216 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.9694, allocations: 4 kB / 0.9216 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/0.9701, allocations: 67.86 kB / 0.9217 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.9702, allocations: 20.88 kB / 0.9217 GB, free: 15.07 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.0002087/0.9704, allocations: 220.9 kB / 0.9219 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.9706, allocations: 119.2 kB / 0.922 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.972, allocations: 0.7421 MB / 0.9228 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.972, allocations: 4.188 kB / 0.9228 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.972, allocations: 0 / 0.9228 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/0.9732, allocations: 0.9111 MB / 0.9237 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.9764, allocations: 2.24 MB / 0.9259 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9764, allocations: 7.938 kB / 0.9259 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.977, allocations: 136.2 kB / 0.926 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.9771, allocations: 8 kB / 0.926 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.9771, allocations: 24 kB / 0.926 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.9771, allocations: 7.984 kB / 0.926 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.9771, allocations: 7.938 kB / 0.926 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.979, allocations: 1.231 MB / 0.9272 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.9794, allocations: 264.3 kB / 0.9275 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.9796, allocations: 16 kB / 0.9275 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000637/0.9802, allocations: 45.83 kB / 0.9275 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.9803, allocations: 48.31 kB / 0.9276 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.9804, allocations: 20 kB / 0.9276 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007796/0.9812, allocations: 0.59 MB / 0.9282 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9812, allocations: 0 / 0.9282 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001227/0.9824, allocations: 0.5419 MB / 0.9287 GB, free: 7.582 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.0005224/0.9829, allocations: 236.4 kB / 0.9289 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.9847, allocations: 0.9466 MB / 0.9299 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9847, allocations: 0 / 0.9299 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005702/0.9853, allocations: 343.5 kB / 0.9302 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.9878, allocations: 0.6119 MB / 0.9308 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.9911, allocations: 2.172 MB / 0.9329 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.9918, allocations: 1.12 MB / 0.934 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009317/0.9927, allocations: 300.1 kB / 0.9343 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.9929, allocations: 83.42 kB / 0.9344 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.993, allocations: 0 / 0.9344 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of Templates: time 0.0344/1.027, allocations: 20.48 MB / 0.9544 GB, free: 13.5 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)