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.001409/0.001409, allocations: 114 kB / 17.12 MB, free: 6.008 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.001434/0.001434, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.508/1.508, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.006/1.006, allocations: 150 MB / 459.5 MB, free: 5.262 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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) [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.002025/0.002025, allocations: 76.55 kB / 0.6361 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1989, allocations: 89.13 MB / 0.7231 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01863/0.2176, allocations: 15.28 MB / 0.7381 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006762/0.2243, allocations: 3.939 MB / 0.7419 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005983/0.2249, allocations: 27.81 kB / 0.7419 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.2257, allocations: 190.7 kB / 0.7421 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.2278, allocations: 0.7114 MB / 0.7428 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.2292, allocations: 486.5 kB / 0.7433 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.231, allocations: 1.099 MB / 0.7444 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.2314, allocations: 253.5 kB / 0.7446 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.2324, allocations: 478.2 kB / 0.7451 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.2328, allocations: 278.7 kB / 0.7453 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.2328, allocations: 20 kB / 0.7453 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.2343, allocations: 0.733 MB / 0.7461 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.2344, allocations: 75.62 kB / 0.7461 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.2346, allocations: 194.9 kB / 0.7463 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2358, allocations: 0.7278 MB / 0.747 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2358, allocations: 4 kB / 0.747 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2358, allocations: 0 / 0.747 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2359, allocations: 0 / 0.747 GB, free: 11.52 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.001532/0.2374, allocations: 0.7699 MB / 0.7478 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.5e-05/0.2375, allocations: 8.031 kB / 0.7478 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.291e-05/0.2376, allocations: 54.73 kB / 0.7478 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.2377, allocations: 52.58 kB / 0.7479 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.2391, allocations: 0.5208 MB / 0.7484 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.2392, allocations: 12.33 kB / 0.7484 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.2392, allocations: 20 kB / 0.7484 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.2397, allocations: 183.1 kB / 0.7486 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2397, allocations: 7.922 kB / 0.7486 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2397, allocations: 12 kB / 0.7486 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2397, allocations: 8 kB / 0.7486 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.2401, allocations: 131.9 kB / 0.7488 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.2415, allocations: 0.8569 MB / 0.7496 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2418, allocations: 126.5 kB / 0.7497 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.242, allocations: 64.81 kB / 0.7498 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.2424, allocations: 332.4 kB / 0.7501 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.2424, allocations: 38.5 kB / 0.7501 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2424, allocations: 4 kB / 0.7501 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006496/0.2431, allocations: 213.3 kB / 0.7503 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.2431, allocations: 59.34 kB / 0.7504 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.2435, allocations: 353.7 kB / 0.7507 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.2436, allocations: 33.64 kB / 0.7508 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2437, allocations: 200.4 kB / 0.751 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/0.2438, allocations: 51.56 kB / 0.751 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.2439, allocations: 29.72 kB / 0.751 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2441, allocations: 342.8 kB / 0.7514 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2442, allocations: 52.81 kB / 0.7514 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.2444, allocations: 96.08 kB / 0.7515 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.2447, allocations: 113.6 kB / 0.7516 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2447, allocations: 0 / 0.7516 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004161/0.2451, allocations: 185.2 kB / 0.7518 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2452, allocations: 8 kB / 0.7518 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2452, allocations: 0 / 0.7518 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2452, allocations: 4 kB / 0.7518 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2453, allocations: 23.98 kB / 0.7518 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2453, allocations: 0 / 0.7518 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2455, allocations: 27.97 kB / 0.7518 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.2456, allocations: 7.984 kB / 0.7519 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002516/0.2458, allocations: 152.1 kB / 0.752 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001772/0.246, allocations: 92.19 kB / 0.7521 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002644/0.2463, allocations: 109.7 kB / 0.7522 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.2463, allocations: 0 / 0.7522 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003934/0.2467, allocations: 185.2 kB / 0.7524 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.2467, allocations: 4 kB / 0.7524 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2467, allocations: 11.98 kB / 0.7524 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-06/0.2467, allocations: 0 / 0.7524 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2468, allocations: 23.98 kB / 0.7524 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.2468, allocations: 0 / 0.7524 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.247, allocations: 23.88 kB / 0.7524 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.247, allocations: 4 kB / 0.7524 GB, free: 5.57 MB / 0.5606 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.0001451/0.2471, allocations: 189.1 kB / 0.7526 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.2472, allocations: 39.88 kB / 0.7526 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/0.2477, allocations: 229.6 kB / 0.7529 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.2478, allocations: 4 kB / 0.7529 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2478, allocations: 0 / 0.7529 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2478, allocations: 0 / 0.7529 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2488, allocations: 0.6373 MB / 0.7535 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2488, allocations: 0 / 0.7535 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.2489, allocations: 23.98 kB / 0.7535 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.2489, allocations: 3.984 kB / 0.7535 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.249, allocations: 8 kB / 0.7535 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.249, allocations: 0 / 0.7535 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.249, allocations: 4 kB / 0.7535 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.2495, allocations: 327.4 kB / 0.7538 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2496, allocations: 128.8 kB / 0.754 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.2497, allocations: 0 / 0.754 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2499, allocations: 15.98 kB / 0.754 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.2499, allocations: 23.86 kB / 0.754 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.2499, allocations: 7.984 kB / 0.754 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002883/0.2502, allocations: 255.2 kB / 0.7543 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2502, allocations: 0 / 0.7543 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006687/0.2509, allocations: 195.4 kB / 0.7544 GB, free: 3.391 MB / 0.5606 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.001216/0.2521, allocations: 0.986 MB / 0.7554 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005529/0.2527, allocations: 190.8 kB / 0.7556 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.2527, allocations: 8 kB / 0.7556 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.2529, allocations: 67.89 kB / 0.7557 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.2537, allocations: 153.1 kB / 0.7558 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.2578, allocations: 2.77 MB / 0.7585 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.2583, allocations: 0.7995 MB / 0.7593 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.2586, allocations: 82.56 kB / 0.7594 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2587, allocations: 115.4 kB / 0.7595 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.2587, allocations: 0 / 0.7595 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.3002, allocations: 10.24 MB / 0.7695 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.083, allocations: 19 kB / 0.7695 GB, free: 4.016 MB / 0.5762 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.174277208046988] Failed to read output from testmodel.py, exit status != 0: 9.163640793180093 9.189253107 8.948536189 Calling exit ...