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.001379/0.001379, 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.001711/0.001711, allocations: 215.9 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002/1.002, allocations: 149.9 MB / 463 MB, free: 10.38 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: "" <> 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.002952/0.002952, allocations: 75.25 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.183, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01776/0.2007, allocations: 14.07 MB / 0.7419 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006773/0.2075, allocations: 3.62 MB / 0.7454 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/0.2081, allocations: 31.75 kB / 0.7455 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000686/0.2088, allocations: 186.7 kB / 0.7456 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.2107, allocations: 0.7115 MB / 0.7463 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.2122, allocations: 494.5 kB / 0.7468 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.2138, allocations: 1.122 MB / 0.7479 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.2142, allocations: 237.8 kB / 0.7481 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.2153, allocations: 0.58 MB / 0.7487 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.2156, allocations: 226.9 kB / 0.7489 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.2157, allocations: 16 kB / 0.7489 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.2165, allocations: 431.2 kB / 0.7493 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2166, allocations: 67.64 kB / 0.7494 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.2168, allocations: 143.2 kB / 0.7495 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.2177, allocations: 0.5642 MB / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2177, allocations: 0 / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2177, allocations: 4 kB / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2177, allocations: 0 / 0.7501 GB, free: 10.5 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.001072/0.2188, allocations: 0.648 MB / 0.7507 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.2188, allocations: 16.02 kB / 0.7507 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.2189, allocations: 50.73 kB / 0.7508 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.219, allocations: 44.66 kB / 0.7508 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.2199, allocations: 379.5 kB / 0.7512 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.2199, allocations: 16.31 kB / 0.7512 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.2199, allocations: 24 kB / 0.7512 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.2204, allocations: 208.8 kB / 0.7514 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2204, allocations: 0 / 0.7514 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.2204, allocations: 4 kB / 0.7514 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.2204, allocations: 4 kB / 0.7514 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.2207, allocations: 143.8 kB / 0.7516 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2218, allocations: 0.5733 MB / 0.7521 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.2221, allocations: 118.5 kB / 0.7522 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2223, allocations: 68.81 kB / 0.7523 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.2224, allocations: 35.97 kB / 0.7523 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.2225, allocations: 34.56 kB / 0.7524 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2225, allocations: 4 kB / 0.7524 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0005802/0.223, allocations: 218.7 kB / 0.7526 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2231, allocations: 51.41 kB / 0.7526 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.2235, allocations: 337.7 kB / 0.753 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.2235, allocations: 37.64 kB / 0.753 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.2237, allocations: 196.3 kB / 0.7532 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.2237, allocations: 47.64 kB / 0.7532 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.2238, allocations: 29.72 kB / 0.7533 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.224, allocations: 346.8 kB / 0.7536 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2241, allocations: 52.81 kB / 0.7536 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.2244, allocations: 238.5 kB / 0.7539 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.2247, allocations: 117.6 kB / 0.754 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2247, allocations: 0 / 0.754 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003944/0.2251, allocations: 181.2 kB / 0.7541 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2251, allocations: 8 kB / 0.7542 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2251, allocations: 4 kB / 0.7542 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2251, allocations: 96 / 0.7542 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.2252, allocations: 27.92 kB / 0.7542 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2252, allocations: 0 / 0.7542 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.2254, allocations: 23.88 kB / 0.7542 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.2254, allocations: 4 kB / 0.7542 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000239/0.2257, allocations: 152.1 kB / 0.7544 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002676/0.2259, allocations: 261.1 kB / 0.7546 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002581/0.2262, allocations: 113.7 kB / 0.7547 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.2262, allocations: 0 / 0.7547 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003616/0.2265, allocations: 169.3 kB / 0.7549 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.2265, allocations: 8 kB / 0.7549 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/0.2266, allocations: 0 / 0.7549 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-06/0.2266, allocations: 0 / 0.7549 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2267, allocations: 35.91 kB / 0.7549 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.2267, allocations: 0 / 0.7549 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.2268, allocations: 15.95 kB / 0.7549 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.2268, allocations: 7.984 kB / 0.7549 GB, free: 5.191 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.0001365/0.227, allocations: 188.2 kB / 0.7551 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.227, allocations: 35.77 kB / 0.7552 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.2275, allocations: 234.1 kB / 0.7554 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.2275, allocations: 8 kB / 0.7554 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2275, allocations: 0 / 0.7554 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2275, allocations: 0 / 0.7554 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.2285, allocations: 0.5857 MB / 0.756 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.2285, allocations: 4.125 kB / 0.756 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.2286, allocations: 27.98 kB / 0.756 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2286, allocations: 0 / 0.756 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2286, allocations: 4.094 kB / 0.756 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2287, allocations: 4 kB / 0.756 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2287, allocations: 0 / 0.756 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.2291, allocations: 339.6 kB / 0.7563 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2292, allocations: 47.75 kB / 0.7564 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2293, allocations: 0 / 0.7564 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.2294, allocations: 15.98 kB / 0.7564 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.2295, allocations: 15.91 kB / 0.7564 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2295, allocations: 4 kB / 0.7564 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002534/0.2298, allocations: 247.2 kB / 0.7566 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2298, allocations: 0 / 0.7566 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005295/0.2303, allocations: 151.6 kB / 0.7568 GB, free: 3.215 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.00104/0.2313, allocations: 0.9314 MB / 0.7577 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005542/0.2319, allocations: 187.8 kB / 0.7579 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2319, allocations: 0 / 0.7579 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.2321, allocations: 75.89 kB / 0.7579 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/0.2329, allocations: 153.3 kB / 0.7581 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4083/0.6412, allocations: 2.667 MB / 0.7607 GB, free: 34.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.6414, allocations: 193.5 kB / 0.7609 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.6417, allocations: 76.02 kB / 0.7609 GB, free: 34.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.6418, allocations: 116.3 kB / 0.7611 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.6418, allocations: 0 / 0.7611 GB, free: 34.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.6837, allocations: 10.38 MB / 0.7712 GB, free: 32.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.43, allocations: 14.67 kB / 0.7712 GB, free: 32.96 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.30807744478807] Failed to read output from testmodel.py, exit status != 0: 12.544409071095288 12.557376173 12.336817152 Calling exit ...