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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 112.3 kB / 17.33 MB, free: 5.008 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: 198.6 kB / 18.33 MB, free: 4.016 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.502/1.502, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.882/0.882, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 69.25 kB / 0.5912 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2087, allocations: 83.26 MB / 0.6725 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.7924/1.001, allocations: 240.9 MB / 0.9077 GB, free: 11 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.018, allocations: 7.229 MB / 0.9147 GB, free: 3.762 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/1.021, allocations: 51.69 kB / 0.9148 GB, free: 3.711 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/1.023, allocations: 0.726 MB / 0.9155 GB, free: 2.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007783/1.031, allocations: 2.155 MB / 0.9176 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006762/1.038, allocations: 2.069 MB / 0.9196 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006279/1.044, allocations: 3.269 MB / 0.9228 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/1.047, allocations: 0.9422 MB / 0.9237 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006463/1.053, allocations: 2.133 MB / 0.9258 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003052/1.056, allocations: 1.007 MB / 0.9268 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005623/1.057, allocations: 124 kB / 0.9269 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006502/1.063, allocations: 2.603 MB / 0.9295 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/1.064, allocations: 470.5 kB / 0.9299 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002097/1.066, allocations: 0.7233 MB / 0.9306 GB, free: 3.449 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007826/1.074, allocations: 2.69 MB / 0.9333 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/1.074, allocations: 0 / 0.9333 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/1.074, allocations: 0 / 0.9333 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.826e-05/1.074, allocations: 4 kB / 0.9333 GB, free: 0.7461 MB / 0.6856 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.00517/1.079, allocations: 1.754 MB / 0.935 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.079, allocations: 8.031 kB / 0.935 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/1.083, allocations: 434.7 kB / 0.9354 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/1.085, allocations: 1.031 MB / 0.9364 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/1.085, allocations: 58 kB / 0.9365 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/1.085, allocations: 84 kB / 0.9365 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/1.087, allocations: 0.8662 MB / 0.9374 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.087, allocations: 0 / 0.9374 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/1.087, allocations: 35.94 kB / 0.9374 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/1.087, allocations: 33.98 kB / 0.9374 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.089, allocations: 0.8081 MB / 0.9382 GB, free: 11.54 MB / 0.7012 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.006723/1.096, allocations: 3.723 MB / 0.9419 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/1.098, allocations: 1.069 MB / 0.9429 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/1.099, allocations: 350.8 kB / 0.9432 GB, free: 5.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008375/1.099, allocations: 404.9 kB / 0.9436 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/1.1, allocations: 39.12 kB / 0.9437 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.818e-06/1.1, allocations: 0 / 0.9437 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.0031/1.103, allocations: 0.9667 MB / 0.9446 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/1.103, allocations: 59.95 kB / 0.9447 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/1.105, allocations: 0.84 MB / 0.9455 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.105, allocations: 37.7 kB / 0.9455 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006121/1.105, allocations: 492.8 kB / 0.946 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/1.106, allocations: 222 kB / 0.9462 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/1.106, allocations: 114.2 kB / 0.9463 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.106, allocations: 326 kB / 0.9466 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/1.107, allocations: 259 kB / 0.9469 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/1.107, allocations: 368.6 kB / 0.9472 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.109, allocations: 0.5969 MB / 0.9478 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.109, allocations: 0 / 0.9478 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001859/1.11, allocations: 0.7371 MB / 0.9485 GB, free: 372 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.111, allocations: 7.938 kB / 0.9485 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.111, allocations: 4 kB / 0.9485 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/1.111, allocations: 4 kB / 0.9485 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/1.111, allocations: 119.9 kB / 0.9487 GB, free: 236 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.111, allocations: 4 kB / 0.9487 GB, free: 232 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/1.112, allocations: 76.56 kB / 0.9487 GB, free: 156 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/1.112, allocations: 23.98 kB / 0.9488 GB, free: 132 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009981/1.113, allocations: 0.4893 MB / 0.9492 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006157/1.114, allocations: 359.5 kB / 0.9496 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001161/1.115, allocations: 0.5774 MB / 0.9501 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.087e-06/1.115, allocations: 2.266 kB / 0.9501 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001604/1.117, allocations: 0.7365 MB / 0.9509 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/1.117, allocations: 4 kB / 0.9509 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/1.117, allocations: 4 kB / 0.9509 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/1.117, allocations: 4 kB / 0.9509 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/1.117, allocations: 128.9 kB / 0.951 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.117, allocations: 4 kB / 0.951 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/1.118, allocations: 55.7 kB / 0.9511 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/1.118, allocations: 28.05 kB / 0.9511 GB, free: 13.69 MB / 0.7169 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.0002635/1.118, allocations: 220.1 kB / 0.9513 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/1.119, allocations: 103.3 kB / 0.9514 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/1.12, allocations: 0.7479 MB / 0.9521 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.12, allocations: 8 kB / 0.9521 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.12, allocations: 4 kB / 0.9521 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/1.122, allocations: 0.9033 MB / 0.953 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.126, allocations: 2.247 MB / 0.9552 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/1.126, allocations: 7.984 kB / 0.9552 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/1.126, allocations: 127.8 kB / 0.9553 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.126, allocations: 8 kB / 0.9553 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/1.126, allocations: 20.39 kB / 0.9554 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.126, allocations: 8 kB / 0.9554 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.126, allocations: 4.188 kB / 0.9554 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/1.129, allocations: 1.235 MB / 0.9566 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/1.129, allocations: 272.2 kB / 0.9568 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/1.13, allocations: 16 kB / 0.9569 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/1.13, allocations: 46.95 kB / 0.9569 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/1.131, allocations: 44.33 kB / 0.9569 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/1.131, allocations: 27.98 kB / 0.957 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001019/1.132, allocations: 0.5823 MB / 0.9575 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.132, allocations: 0 / 0.9575 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00159/1.133, allocations: 0.5419 MB / 0.9581 GB, free: 6.207 MB / 0.7169 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.0006864/1.134, allocations: 238.4 kB / 0.9583 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002117/1.136, allocations: 0.896 MB / 0.9592 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/1.136, allocations: 0 / 0.9592 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/1.137, allocations: 327.3 kB / 0.9595 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.139, allocations: 0.6077 MB / 0.9601 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/1.143, allocations: 2.168 MB / 0.9622 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009887/1.144, allocations: 1.124 MB / 0.9633 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001098/1.145, allocations: 304.1 kB / 0.9636 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/1.146, allocations: 79.44 kB / 0.9637 GB, free: 396 kB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/1.146, allocations: 0 / 0.9637 GB, free: 396 kB / 0.7169 GB Notification: Performance of Templates: time 0.04179/1.187, allocations: 20.78 MB / 0.984 GB, free: 11.88 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile [Timeout 660] (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) [Timeout 480]