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.001364/0.001364, allocations: 104.3 kB / 20.45 MB, free: 1.402 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.001482/0.001482, allocations: 213.6 kB / 23.75 MB, free: 4.574 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9691/0.9691, allocations: 149.9 MB / 463.8 MB, free: 10.33 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.002135/0.002135, allocations: 71.94 kB / 0.6423 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1964, allocations: 89.18 MB / 0.7294 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01734/0.2137, allocations: 14.07 MB / 0.7431 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006175/0.2199, allocations: 3.628 MB / 0.7466 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.2204, allocations: 27.75 kB / 0.7467 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.2211, allocations: 186.7 kB / 0.7469 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.223, allocations: 0.7153 MB / 0.7476 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2243, allocations: 489.5 kB / 0.748 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.226, allocations: 1.126 MB / 0.7491 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.2264, allocations: 241.7 kB / 0.7493 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.2275, allocations: 0.5722 MB / 0.7499 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.2278, allocations: 234.8 kB / 0.7501 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.2278, allocations: 16 kB / 0.7501 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00087/0.2287, allocations: 423.2 kB / 0.7505 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.937e-05/0.2288, allocations: 71.58 kB / 0.7506 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.229, allocations: 143.3 kB / 0.7508 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.2298, allocations: 0.5641 MB / 0.7513 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2298, allocations: 4 kB / 0.7513 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2298, allocations: 0 / 0.7513 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2299, allocations: 0 / 0.7513 GB, free: 9.98 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.001063/0.2309, allocations: 0.648 MB / 0.7519 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.231, allocations: 12.03 kB / 0.752 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.974e-05/0.2311, allocations: 44.66 kB / 0.752 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.2319, allocations: 379.7 kB / 0.7524 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2319, allocations: 20.27 kB / 0.7524 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.232, allocations: 24 kB / 0.7524 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.2324, allocations: 204.8 kB / 0.7526 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2324, allocations: 0 / 0.7526 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.2325, allocations: 8 kB / 0.7526 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.2325, allocations: 4 kB / 0.7526 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.2328, allocations: 135.9 kB / 0.7527 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/0.2338, allocations: 0.5348 MB / 0.7533 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.2341, allocations: 114.5 kB / 0.7534 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2342, allocations: 68.81 kB / 0.7534 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.2344, allocations: 35.97 kB / 0.7535 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.2344, allocations: 38.5 kB / 0.7535 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.2344, allocations: 4 kB / 0.7535 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0005796/0.235, allocations: 224.5 kB / 0.7537 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.2351, allocations: 51.41 kB / 0.7538 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.2354, allocations: 321.7 kB / 0.7541 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.2354, allocations: 29.7 kB / 0.7541 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.2356, allocations: 192.5 kB / 0.7543 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.2356, allocations: 43.64 kB / 0.7543 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.2357, allocations: 29.7 kB / 0.7544 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2359, allocations: 346.8 kB / 0.7547 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.236, allocations: 52.81 kB / 0.7547 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2363, allocations: 238.5 kB / 0.755 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.2366, allocations: 117.6 kB / 0.7551 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2366, allocations: 0 / 0.7551 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003726/0.2369, allocations: 181.3 kB / 0.7553 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.237, allocations: 8 kB / 0.7553 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.237, allocations: 0 / 0.7553 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.237, allocations: 4 kB / 0.7553 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.2371, allocations: 23.98 kB / 0.7553 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2371, allocations: 0 / 0.7553 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2373, allocations: 19.86 kB / 0.7553 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.2373, allocations: 16 kB / 0.7553 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002292/0.2375, allocations: 156.1 kB / 0.7555 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002464/0.2378, allocations: 242.6 kB / 0.7557 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002551/0.238, allocations: 113.6 kB / 0.7558 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.01e-07/0.238, allocations: 3.938 kB / 0.7558 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003513/0.2384, allocations: 177.3 kB / 0.756 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2384, allocations: 10.28 kB / 0.756 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.2384, allocations: 3.984 kB / 0.756 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-06/0.2384, allocations: 4 kB / 0.756 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2385, allocations: 23.98 kB / 0.756 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2385, allocations: 4 kB / 0.756 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2386, allocations: 7.984 kB / 0.756 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.2386, allocations: 8 kB / 0.756 GB, free: 4.824 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.0001264/0.2388, allocations: 188.2 kB / 0.7562 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.2388, allocations: 39.7 kB / 0.7563 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.2393, allocations: 230 kB / 0.7565 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.2394, allocations: 8 kB / 0.7565 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2394, allocations: 0 / 0.7565 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2394, allocations: 0 / 0.7565 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008876/0.2403, allocations: 0.5511 MB / 0.757 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2403, allocations: 0 / 0.757 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.2404, allocations: 23.98 kB / 0.757 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2404, allocations: 0 / 0.757 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.2404, allocations: 8.094 kB / 0.7571 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2404, allocations: 7.938 kB / 0.7571 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.2404, allocations: 7.922 kB / 0.7571 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.2409, allocations: 317.7 kB / 0.7574 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.241, allocations: 47.75 kB / 0.7574 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.241, allocations: 0 / 0.7574 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2411, allocations: 11.98 kB / 0.7574 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.2412, allocations: 15.97 kB / 0.7574 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.2412, allocations: 8 kB / 0.7575 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002291/0.2414, allocations: 231.2 kB / 0.7577 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2414, allocations: 3.938 kB / 0.7577 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005382/0.242, allocations: 155.5 kB / 0.7578 GB, free: 2.914 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.2423, allocations: 183.1 kB / 0.758 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.2428, allocations: 186.2 kB / 0.7582 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2428, allocations: 0 / 0.7582 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.243, allocations: 75.89 kB / 0.7583 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.2438, allocations: 135.7 kB / 0.7584 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009905/0.2448, allocations: 0.6134 MB / 0.759 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.245, allocations: 189.8 kB / 0.7592 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.2451, allocations: 27.44 kB / 0.7592 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2451, allocations: 0 / 0.7592 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.3775/0.6226, allocations: 5.439 MB / 0.7645 GB, free: 34.94 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.281062263064086] Failed to read output from testmodel.py, exit status != 0: 0.631841610185802 0.652459307 0.417103539 Calling exit ...