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.001337/0.001337, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001478/0.001478, allocations: 208 kB / 22.99 MB, free: 4.977 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.99/0.99, allocations: 149.9 MB / 463 MB, free: 10.39 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.00256/0.00256, allocations: 74.98 kB / 0.6415 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.205, allocations: 89.17 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01963/0.2246, allocations: 14.07 MB / 0.7424 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006319/0.2309, allocations: 3.616 MB / 0.7459 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006619/0.2316, allocations: 31.75 kB / 0.7459 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.2324, allocations: 190.7 kB / 0.7461 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.2347, allocations: 0.7153 MB / 0.7468 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.2364, allocations: 498.4 kB / 0.7473 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.2384, allocations: 1.122 MB / 0.7484 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.2391, allocations: 233.8 kB / 0.7486 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.2405, allocations: 0.5761 MB / 0.7492 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.241, allocations: 230.8 kB / 0.7494 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.241, allocations: 20 kB / 0.7494 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.2421, allocations: 431.2 kB / 0.7498 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.2422, allocations: 67.69 kB / 0.7499 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.2424, allocations: 139.2 kB / 0.75 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.2436, allocations: 0.5681 MB / 0.7506 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2436, allocations: 0 / 0.7506 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2436, allocations: 0 / 0.7506 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.2436, allocations: 0 / 0.7506 GB, free: 9.984 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.001328/0.245, allocations: 0.648 MB / 0.7512 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.245, allocations: 8.031 kB / 0.7512 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2451, allocations: 52.64 kB / 0.7512 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.2461, allocations: 379.7 kB / 0.7516 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.2462, allocations: 16.33 kB / 0.7516 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.2462, allocations: 16 kB / 0.7516 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/0.2466, allocations: 204.9 kB / 0.7518 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2466, allocations: 0 / 0.7518 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.2467, allocations: 11.98 kB / 0.7518 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2467, allocations: 4 kB / 0.7519 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.247, allocations: 139.8 kB / 0.752 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.2481, allocations: 0.5348 MB / 0.7525 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.2484, allocations: 122.6 kB / 0.7526 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.2486, allocations: 64.81 kB / 0.7527 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2487, allocations: 35.98 kB / 0.7527 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.2488, allocations: 38.44 kB / 0.7528 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.2488, allocations: 0 / 0.7528 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0006156/0.2494, allocations: 224 kB / 0.753 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2494, allocations: 51.41 kB / 0.753 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.2498, allocations: 321.7 kB / 0.7533 GB, free: 7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2498, allocations: 25.7 kB / 0.7533 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.25, allocations: 200.4 kB / 0.7535 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.25, allocations: 43.62 kB / 0.7536 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.2501, allocations: 37.7 kB / 0.7536 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2502, allocations: 342.8 kB / 0.7539 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2504, allocations: 48.81 kB / 0.754 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.2507, allocations: 250.4 kB / 0.7542 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.2509, allocations: 109.7 kB / 0.7543 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2509, allocations: 4.062 kB / 0.7543 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003941/0.2513, allocations: 181.2 kB / 0.7545 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2513, allocations: 10.03 kB / 0.7545 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2513, allocations: 3.938 kB / 0.7545 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2514, allocations: 0 / 0.7545 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2515, allocations: 27.98 kB / 0.7546 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2515, allocations: 0 / 0.7546 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2517, allocations: 19.92 kB / 0.7546 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.2517, allocations: 4.094 kB / 0.7546 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002339/0.2519, allocations: 160 kB / 0.7547 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002559/0.2522, allocations: 238.5 kB / 0.755 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002528/0.2524, allocations: 113.6 kB / 0.7551 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.2524, allocations: 4 kB / 0.7551 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000358/0.2528, allocations: 173.4 kB / 0.7552 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2528, allocations: 15.88 kB / 0.7552 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.2528, allocations: 0 / 0.7552 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-06/0.2528, allocations: 0 / 0.7552 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2529, allocations: 35.91 kB / 0.7553 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.2529, allocations: 0 / 0.7553 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.253, allocations: 8 kB / 0.7553 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2531, allocations: 15.98 kB / 0.7553 GB, free: 4.812 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.0001349/0.2532, allocations: 184.3 kB / 0.7555 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.2532, allocations: 39.7 kB / 0.7555 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.2538, allocations: 232.2 kB / 0.7557 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2538, allocations: 0 / 0.7557 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2538, allocations: 0 / 0.7557 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2538, allocations: 4 kB / 0.7557 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.2547, allocations: 0.5434 MB / 0.7563 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2547, allocations: 0 / 0.7563 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.2548, allocations: 27.92 kB / 0.7563 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2548, allocations: 4 kB / 0.7563 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2548, allocations: 0 / 0.7563 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2548, allocations: 0 / 0.7563 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2548, allocations: 4 kB / 0.7563 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.2553, allocations: 329.7 kB / 0.7566 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2554, allocations: 51.73 kB / 0.7567 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.2554, allocations: 4 kB / 0.7567 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2556, allocations: 12.05 kB / 0.7567 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.2556, allocations: 11.98 kB / 0.7567 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.2556, allocations: 15.92 kB / 0.7567 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002295/0.2558, allocations: 227.2 kB / 0.7569 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2558, allocations: 0 / 0.7569 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005345/0.2564, allocations: 159.5 kB / 0.7571 GB, free: 2.906 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.0003445/0.2567, allocations: 183 kB / 0.7573 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005183/0.2572, allocations: 179.8 kB / 0.7574 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2572, allocations: 0 / 0.7574 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.2574, allocations: 76.08 kB / 0.7575 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007506/0.2582, allocations: 140.6 kB / 0.7576 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/0.2592, allocations: 0.5752 MB / 0.7582 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.2594, allocations: 193.8 kB / 0.7584 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.2596, allocations: 74.03 kB / 0.7585 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.2597, allocations: 27.44 kB / 0.7585 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.2597, allocations: 0 / 0.7585 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of Templates: time 0.4646/0.7242, allocations: 6.147 MB / 0.7645 GB, free: 35.85 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: 6.884424680843949] Failed to read output from testmodel.py, exit status != 0: 0.7346126195043325 0.752204006 0.5048797239999999 Calling exit ...