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.001375/0.001375, allocations: 75.66 kB / 20.51 MB, free: 1.285 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.001443/0.001443, allocations: 160.5 kB / 23.76 MB, free: 4.469 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.496/1.496, allocations: 177.2 MB / 204.1 MB, free: 8.988 MB / 190.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.019/1.019, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.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.00274/0.00274, allocations: 67.88 kB / 0.555 GB, free: 2.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1858, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01762/0.2035, allocations: 14.07 MB / 0.6558 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005832/0.2093, allocations: 3.604 MB / 0.6593 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004487/0.2097, allocations: 31.75 kB / 0.6594 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.2104, allocations: 198.5 kB / 0.6596 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.2121, allocations: 0.7153 MB / 0.6603 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2134, allocations: 495.9 kB / 0.6607 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.215, allocations: 1.124 MB / 0.6618 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.2154, allocations: 241.7 kB / 0.6621 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.2164, allocations: 0.5645 MB / 0.6626 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.2167, allocations: 234.7 kB / 0.6628 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.2167, allocations: 16 kB / 0.6629 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.2175, allocations: 435.2 kB / 0.6633 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.2176, allocations: 67.64 kB / 0.6633 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.2178, allocations: 143.2 kB / 0.6635 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007786/0.2186, allocations: 0.5642 MB / 0.664 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.2186, allocations: 4 kB / 0.664 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2186, allocations: 0 / 0.664 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2186, allocations: 0 / 0.664 GB, free: 2.977 MB / 0.5606 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.0009934/0.2196, allocations: 0.648 MB / 0.6647 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2196, allocations: 8.031 kB / 0.6647 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.2197, allocations: 48.66 kB / 0.6647 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.2205, allocations: 387.7 kB / 0.6651 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2205, allocations: 12.33 kB / 0.6651 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.2206, allocations: 16 kB / 0.6651 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.221, allocations: 208.8 kB / 0.6653 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.221, allocations: 0 / 0.6653 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.221, allocations: 8 kB / 0.6653 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.221, allocations: 4 kB / 0.6653 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.2213, allocations: 131.9 kB / 0.6654 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009601/0.2223, allocations: 0.5387 MB / 0.666 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.2226, allocations: 118.6 kB / 0.6661 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2227, allocations: 72.75 kB / 0.6662 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.2229, allocations: 31.98 kB / 0.6662 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2229, allocations: 34.5 kB / 0.6662 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2229, allocations: 0 / 0.6662 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005913/0.2235, allocations: 221.3 kB / 0.6664 GB, free: 396 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2235, allocations: 51.41 kB / 0.6665 GB, free: 332 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.2239, allocations: 321.7 kB / 0.6668 GB, free: 0 / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.2239, allocations: 29.7 kB / 0.6668 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.224, allocations: 200.5 kB / 0.667 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.2241, allocations: 47.56 kB / 0.667 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.2241, allocations: 33.66 kB / 0.6671 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2243, allocations: 342.8 kB / 0.6674 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.2245, allocations: 52.83 kB / 0.6675 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.2247, allocations: 238.5 kB / 0.6677 GB, free: 15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.225, allocations: 121.5 kB / 0.6678 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.225, allocations: 0 / 0.6678 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000369/0.2254, allocations: 185.2 kB / 0.668 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2254, allocations: 5.562 kB / 0.668 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2254, allocations: 4 kB / 0.668 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2254, allocations: 0 / 0.668 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2255, allocations: 23.98 kB / 0.668 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2255, allocations: 0 / 0.668 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2257, allocations: 15.98 kB / 0.668 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2257, allocations: 7.938 kB / 0.668 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002184/0.2259, allocations: 156.1 kB / 0.6682 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002637/0.2262, allocations: 246.5 kB / 0.6684 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000259/0.2264, allocations: 109.7 kB / 0.6685 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.2264, allocations: 0 / 0.6685 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003544/0.2268, allocations: 177.3 kB / 0.6687 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.976e-06/0.2268, allocations: 11.94 kB / 0.6687 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.2268, allocations: 0 / 0.6687 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-06/0.2268, allocations: 7.938 kB / 0.6687 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2269, allocations: 28.11 kB / 0.6687 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-06/0.2269, allocations: 0 / 0.6687 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.227, allocations: 15.98 kB / 0.6687 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.2271, allocations: 4.094 kB / 0.6688 GB, free: 13.82 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.0001282/0.2272, allocations: 192.2 kB / 0.6689 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.2273, allocations: 43.69 kB / 0.669 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.2278, allocations: 229.4 kB / 0.6692 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.2278, allocations: 0 / 0.6692 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2278, allocations: 0 / 0.6692 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2278, allocations: 0 / 0.6692 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.2286, allocations: 0.555 MB / 0.6697 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2286, allocations: 0 / 0.6697 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.2288, allocations: 28.08 kB / 0.6698 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2288, allocations: 0 / 0.6698 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2288, allocations: 8 kB / 0.6698 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2288, allocations: 0 / 0.6698 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2288, allocations: 7.938 kB / 0.6698 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/0.2292, allocations: 313.8 kB / 0.6701 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/0.2293, allocations: 51.67 kB / 0.6701 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2293, allocations: 4 kB / 0.6701 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2295, allocations: 19.92 kB / 0.6702 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.2295, allocations: 11.98 kB / 0.6702 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2296, allocations: 4 kB / 0.6702 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002258/0.2298, allocations: 227.2 kB / 0.6704 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2298, allocations: 3.938 kB / 0.6704 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005192/0.2303, allocations: 163.5 kB / 0.6705 GB, free: 11.9 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.0003115/0.2306, allocations: 179 kB / 0.6707 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005192/0.2311, allocations: 183.8 kB / 0.6709 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2311, allocations: 0 / 0.6709 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.2313, allocations: 75.89 kB / 0.671 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.2321, allocations: 133.9 kB / 0.6711 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.2329, allocations: 0.5716 MB / 0.6716 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2331, allocations: 193.8 kB / 0.6718 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.2333, allocations: 78.97 kB / 0.6719 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.2334, allocations: 28.5 kB / 0.6719 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.2334, allocations: 0 / 0.6719 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.01145/0.2448, allocations: 5.618 MB / 0.6774 GB, free: 4.949 MB / 0.5762 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.926885009976104] Failed to read output from testmodel.py, exit status != 0: 0.2549895409028977 0.269929262 0.048193284 Calling exit ...