Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 209.9 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9524/0.9524, allocations: 150 MB / 463.9 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 61.38 kB / 0.6425 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2137, allocations: 89.18 MB / 0.7296 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02165/0.2354, allocations: 15.41 MB / 0.7446 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007385/0.2428, allocations: 3.962 MB / 0.7485 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.2437, allocations: 31.75 kB / 0.7485 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.2446, allocations: 194.7 kB / 0.7487 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.2475, allocations: 0.7153 MB / 0.7494 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.2494, allocations: 0.5092 MB / 0.7499 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002282/0.2517, allocations: 1.122 MB / 0.751 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000614/0.2523, allocations: 229.8 kB / 0.7512 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.2536, allocations: 490.2 kB / 0.7517 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.2542, allocations: 274.7 kB / 0.7519 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.2543, allocations: 20 kB / 0.752 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.2565, allocations: 0.7446 MB / 0.7527 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.2567, allocations: 71.69 kB / 0.7527 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.2572, allocations: 194.9 kB / 0.7529 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.2595, allocations: 0.7239 MB / 0.7536 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.2595, allocations: 7.938 kB / 0.7536 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.978e-06/0.2595, allocations: 4 kB / 0.7537 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.083e-05/0.2596, allocations: 0 / 0.7537 GB, free: 7.992 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002012/0.2616, allocations: 0.6984 MB / 0.7543 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2616, allocations: 12.03 kB / 0.7543 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.2618, allocations: 44.66 kB / 0.7544 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.2633, allocations: 474.3 kB / 0.7548 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2634, allocations: 16.27 kB / 0.7549 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.2634, allocations: 16 kB / 0.7549 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.2639, allocations: 179.2 kB / 0.755 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.2639, allocations: 4 kB / 0.755 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.2639, allocations: 8 kB / 0.7551 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2639, allocations: 4 kB / 0.7551 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.2643, allocations: 127.9 kB / 0.7552 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.2658, allocations: 0.8325 MB / 0.756 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.2661, allocations: 114.6 kB / 0.7561 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2663, allocations: 68.75 kB / 0.7562 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.2665, allocations: 31.97 kB / 0.7562 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.2665, allocations: 34.56 kB / 0.7562 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.2665, allocations: 3.938 kB / 0.7562 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.000665/0.2672, allocations: 217.3 kB / 0.7564 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.2673, allocations: 55.41 kB / 0.7565 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.2677, allocations: 353.7 kB / 0.7568 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.2677, allocations: 33.7 kB / 0.7569 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.2679, allocations: 200.4 kB / 0.7571 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.268, allocations: 47.58 kB / 0.7571 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.2681, allocations: 37.64 kB / 0.7571 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.2683, allocations: 342.8 kB / 0.7575 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2684, allocations: 52.77 kB / 0.7575 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2686, allocations: 96.23 kB / 0.7576 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2689, allocations: 113.6 kB / 0.7577 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2689, allocations: 0 / 0.7577 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004323/0.2693, allocations: 181.3 kB / 0.7579 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2694, allocations: 8 kB / 0.7579 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2694, allocations: 4 kB / 0.7579 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2694, allocations: 0 / 0.7579 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2696, allocations: 31.91 kB / 0.7579 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2696, allocations: 0 / 0.7579 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2698, allocations: 23.88 kB / 0.758 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.2698, allocations: 4 kB / 0.758 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002448/0.2701, allocations: 156.1 kB / 0.7581 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001879/0.2702, allocations: 93.28 kB / 0.7582 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002642/0.2705, allocations: 113.7 kB / 0.7583 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.2705, allocations: 3.938 kB / 0.7583 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003956/0.2709, allocations: 177.3 kB / 0.7585 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2709, allocations: 8 kB / 0.7585 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.2709, allocations: 0 / 0.7585 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.2709, allocations: 4 kB / 0.7585 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.271, allocations: 19.98 kB / 0.7585 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.271, allocations: 4 kB / 0.7585 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2712, allocations: 19.92 kB / 0.7585 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.2713, allocations: 8 kB / 0.7585 GB, free: 2.695 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001422/0.2714, allocations: 192.2 kB / 0.7587 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2715, allocations: 43.64 kB / 0.7588 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.272, allocations: 236.8 kB / 0.759 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.272, allocations: 4 kB / 0.759 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.272, allocations: 0 / 0.759 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.272, allocations: 3.984 kB / 0.759 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.273, allocations: 0.6091 MB / 0.7596 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.273, allocations: 0 / 0.7596 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2731, allocations: 27.92 kB / 0.7596 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2731, allocations: 96 / 0.7596 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2732, allocations: 11.94 kB / 0.7596 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2732, allocations: 0 / 0.7596 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2732, allocations: 4 kB / 0.7596 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.2736, allocations: 324.3 kB / 0.7599 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.2737, allocations: 51.73 kB / 0.76 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.2738, allocations: 0 / 0.76 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.274, allocations: 23.92 kB / 0.76 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.2741, allocations: 19.86 kB / 0.76 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.2741, allocations: 4 kB / 0.76 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002966/0.2744, allocations: 255.2 kB / 0.7603 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2744, allocations: 0 / 0.7603 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006484/0.275, allocations: 191.4 kB / 0.7605 GB, free: 0.6289 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000468/0.2755, allocations: 244.2 kB / 0.7607 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.2761, allocations: 187.7 kB / 0.7609 GB, free: 204 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.2761, allocations: 4 kB / 0.7609 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2762, allocations: 71.89 kB / 0.7609 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3963/0.6726, allocations: 150.1 kB / 0.7611 GB, free: 36.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.6736, allocations: 0.6072 MB / 0.7617 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.6738, allocations: 0.7958 MB / 0.7625 GB, free: 35.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/0.6739, allocations: 32.44 kB / 0.7625 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.6739, allocations: 0 / 0.7625 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of Templates: time 0.0101/0.684, allocations: 5.98 MB / 0.7683 GB, free: 34.7 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.873907427070662] Failed to read output from testmodel.py, exit status != 0: 0.6936664530076087 0.707979998 0.445331824 Calling exit ...