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.001518/0.001518, allocations: 119 kB / 19.69 MB, free: 2.199 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.00193/0.00193, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.588/1.588, allocations: 230.6 MB / 256.8 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 1.034/1.034, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 178] 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.002306/0.002306, allocations: 62.97 kB / 0.6417 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2028, allocations: 89.17 MB / 0.7288 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02104/0.2238, allocations: 15.42 MB / 0.7439 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007237/0.2311, allocations: 3.958 MB / 0.7477 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.2317, allocations: 31.75 kB / 0.7477 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000697/0.2324, allocations: 190.7 kB / 0.7479 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.2344, allocations: 0.7231 MB / 0.7486 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2359, allocations: 0.4982 MB / 0.7491 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.2376, allocations: 1.121 MB / 0.7502 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.238, allocations: 245.7 kB / 0.7505 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000955/0.239, allocations: 482.2 kB / 0.7509 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.2394, allocations: 266.8 kB / 0.7512 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.2394, allocations: 27.94 kB / 0.7512 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.2409, allocations: 0.7447 MB / 0.7519 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.241, allocations: 75.62 kB / 0.752 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.2412, allocations: 187 kB / 0.7522 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.2424, allocations: 0.7395 MB / 0.7529 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2424, allocations: 0 / 0.7529 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2424, allocations: 0 / 0.7529 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.2424, allocations: 3.938 kB / 0.7529 GB, free: 8.027 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.001261/0.2436, allocations: 0.6984 MB / 0.7536 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2437, allocations: 8.031 kB / 0.7536 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2438, allocations: 48.66 kB / 0.7536 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.2449, allocations: 466.2 kB / 0.7541 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.2449, allocations: 16.33 kB / 0.7541 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.245, allocations: 16 kB / 0.7541 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.2453, allocations: 179.2 kB / 0.7543 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2454, allocations: 0 / 0.7543 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2454, allocations: 12 kB / 0.7543 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2454, allocations: 4 kB / 0.7543 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.2457, allocations: 131.9 kB / 0.7544 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2469, allocations: 0.8364 MB / 0.7552 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.2472, allocations: 114.6 kB / 0.7553 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2473, allocations: 76.75 kB / 0.7554 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.2475, allocations: 23.98 kB / 0.7554 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.2475, allocations: 50.42 kB / 0.7555 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2475, allocations: 0 / 0.7555 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0005711/0.2481, allocations: 213.4 kB / 0.7557 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2482, allocations: 51.41 kB / 0.7557 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.2486, allocations: 357.7 kB / 0.7561 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.2486, allocations: 29.7 kB / 0.7561 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.2487, allocations: 200.4 kB / 0.7563 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.2488, allocations: 43.58 kB / 0.7563 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.2489, allocations: 37.7 kB / 0.7564 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.249, allocations: 334.8 kB / 0.7567 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2492, allocations: 64.75 kB / 0.7568 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.2493, allocations: 88.19 kB / 0.7568 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2496, allocations: 109.7 kB / 0.7569 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2496, allocations: 4 kB / 0.757 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000379/0.25, allocations: 193.2 kB / 0.7571 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.25, allocations: 4 kB / 0.7571 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.25, allocations: 0 / 0.7571 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.25, allocations: 0 / 0.7571 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.2502, allocations: 27.92 kB / 0.7572 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2502, allocations: 4 kB / 0.7572 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.2504, allocations: 31.86 kB / 0.7572 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.2504, allocations: 4 kB / 0.7572 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000223/0.2506, allocations: 158.1 kB / 0.7574 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001556/0.2508, allocations: 82.77 kB / 0.7574 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002441/0.251, allocations: 113.6 kB / 0.7575 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.016e-06/0.251, allocations: 7.984 kB / 0.7576 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003455/0.2514, allocations: 173.3 kB / 0.7577 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.2514, allocations: 8 kB / 0.7577 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.2514, allocations: 0 / 0.7577 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-06/0.2514, allocations: 0 / 0.7577 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.2515, allocations: 23.98 kB / 0.7577 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-06/0.2515, allocations: 3.938 kB / 0.7578 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.2517, allocations: 19.94 kB / 0.7578 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.2517, allocations: 8 kB / 0.7578 GB, free: 2.734 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.0001356/0.2518, allocations: 192.2 kB / 0.758 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.2519, allocations: 43.7 kB / 0.758 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.2524, allocations: 235.7 kB / 0.7582 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2524, allocations: 0 / 0.7582 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2524, allocations: 7.938 kB / 0.7582 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2524, allocations: 0 / 0.7582 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.2534, allocations: 0.6054 MB / 0.7588 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2534, allocations: 0 / 0.7588 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2535, allocations: 27.92 kB / 0.7589 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2535, allocations: 8.094 kB / 0.7589 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2535, allocations: 7.984 kB / 0.7589 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2536, allocations: 4 kB / 0.7589 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2536, allocations: 3.984 kB / 0.7589 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.254, allocations: 325.6 kB / 0.7592 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.2542, allocations: 51.73 kB / 0.7592 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.2542, allocations: 4 kB / 0.7592 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2544, allocations: 15.94 kB / 0.7593 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.2545, allocations: 19.91 kB / 0.7593 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2545, allocations: 4 kB / 0.7593 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000287/0.2548, allocations: 255.2 kB / 0.7595 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2548, allocations: 4 kB / 0.7595 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006493/0.2554, allocations: 191.4 kB / 0.7597 GB, free: 0.6602 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.0005361/0.256, allocations: 226.3 kB / 0.7599 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.2565, allocations: 199.8 kB / 0.7601 GB, free: 244 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2565, allocations: 4.188 kB / 0.7601 GB, free: 240 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2567, allocations: 75.89 kB / 0.7602 GB, free: 164 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008159/0.2575, allocations: 137.6 kB / 0.7603 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.424/0.6815, allocations: 0.5824 MB / 0.7609 GB, free: 35.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.6817, allocations: 0.7965 MB / 0.7617 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003115/0.682, allocations: 74.94 kB / 0.7617 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.6821, allocations: 33.25 kB / 0.7618 GB, free: 35.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.6821, allocations: 0 / 0.7618 GB, free: 35.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.01786/0.7, allocations: 6.785 MB / 0.7684 GB, free: 34.79 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: 7.127821347210556] Failed to read output from testmodel.py, exit status != 0: 0.7098692250438035 0.726227022 0.48077273800000003 Calling exit ...