Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.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.001257/0.001257, 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.002357/0.002357, 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.071/1.071, allocations: 150 MB / 459.5 MB, free: 5.238 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.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",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.00214/0.00214, allocations: 74.48 kB / 0.6361 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1724, allocations: 89.14 MB / 0.7232 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1762/0.3486, allocations: 139.3 MB / 0.8593 GB, free: 8.105 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4922/0.8408, allocations: 22.79 MB / 0.8815 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.8409, allocations: 3.844 kB / 0.8815 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.8412, allocations: 50.84 kB / 0.8816 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.8415, allocations: 95.08 kB / 0.8817 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01917/0.8606, allocations: 6.975 MB / 0.8885 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.8612, allocations: 253.8 kB / 0.8887 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.8612, allocations: 12.41 kB / 0.8887 GB, free: 2.934 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.8616, allocations: 148.9 kB / 0.8889 GB, free: 2.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.8618, allocations: 96.38 kB / 0.889 GB, free: 2.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.8618, allocations: 8.344 kB / 0.889 GB, free: 2.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02336/0.8852, allocations: 11.68 MB / 0.9004 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.8853, allocations: 36.92 kB / 0.9004 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.8855, allocations: 81.98 kB / 0.9005 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.9072, allocations: 6.504 MB / 0.9068 GB, free: 2.328 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9072, allocations: 0 / 0.9068 GB, free: 2.328 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9072, allocations: 0.9375 kB / 0.9068 GB, free: 2.328 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.9072, allocations: 1.203 kB / 0.9068 GB, free: 2.328 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.005659/0.9129, allocations: 1.25 MB / 0.9081 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.9129, allocations: 9.438 kB / 0.9081 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.913, allocations: 53.02 kB / 0.9081 GB, free: 17.42 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.9141, allocations: 83.06 kB / 0.9082 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.9144, allocations: 228.3 kB / 0.9084 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.9145, allocations: 10.39 kB / 0.9084 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.9145, allocations: 24.25 kB / 0.9084 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.9156, allocations: 454.9 kB / 0.9089 GB, free: 17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9156, allocations: 0 / 0.9089 GB, free: 17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.9156, allocations: 12.25 kB / 0.9089 GB, free: 17 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.9156, allocations: 3 kB / 0.9089 GB, free: 17 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.9167, allocations: 0.595 MB / 0.9095 GB, free: 16.86 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.9178, allocations: 0.8876 MB / 0.9103 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.9186, allocations: 236.2 kB / 0.9106 GB, free: 16.03 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.9187, allocations: 67.55 kB / 0.9106 GB, free: 16.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09458/1.013, allocations: 36.52 MB / 0.9463 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/1.013, allocations: 40.38 kB / 0.9463 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=25): time 2.585e-06/1.013, allocations: 0 / 0.9463 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of matching and sorting (n=25): time 0.001975/1.015, allocations: 423.9 kB / 0.9467 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/1.015, allocations: 55.41 kB / 0.9468 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.015, allocations: 137.4 kB / 0.9469 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/1.016, allocations: 38.42 kB / 0.947 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/1.016, allocations: 114.2 kB / 0.9471 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/1.016, allocations: 85.53 kB / 0.9472 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/1.016, allocations: 86.34 kB / 0.9472 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.016, allocations: 329.7 kB / 0.9475 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/1.016, allocations: 76.2 kB / 0.9476 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/1.016, allocations: 141.2 kB / 0.9478 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/1.017, allocations: 209.6 kB / 0.948 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.017, allocations: 0 / 0.948 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008292/1.018, allocations: 304.7 kB / 0.9482 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.018, allocations: 9.203 kB / 0.9483 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.018, allocations: 0 / 0.9483 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.018, allocations: 4 kB / 0.9483 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/1.018, allocations: 81.72 kB / 0.9483 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.018, allocations: 0 / 0.9483 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/1.018, allocations: 27.14 kB / 0.9484 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/1.018, allocations: 23.48 kB / 0.9484 GB, free: 3.062 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001853/1.019, allocations: 131.6 kB / 0.9485 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/1.019, allocations: 11.95 kB / 0.9485 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/1.021, allocations: 2.341 MB / 0.9508 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.021, allocations: 11.36 kB / 0.9508 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.021, allocations: 5.094 kB / 0.9508 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.021, allocations: 7.922 kB / 0.9508 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/1.025, allocations: 3.431 MB / 0.9542 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.025, allocations: 4 kB / 0.9542 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/1.025, allocations: 56.7 kB / 0.9542 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.025, allocations: 0 / 0.9542 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.025, allocations: 15.81 kB / 0.9543 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/1.025, allocations: 0 / 0.9543 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.025, allocations: 3.984 kB / 0.9543 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008728/1.026, allocations: 0.5425 MB / 0.9548 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/1.026, allocations: 144.6 kB / 0.9549 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/1.026, allocations: 12.12 kB / 0.9549 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/1.027, allocations: 15.92 kB / 0.955 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/1.027, allocations: 16.39 kB / 0.955 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/1.027, allocations: 15.92 kB / 0.955 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.789e-05/1.027, allocations: 104.9 kB / 0.9551 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.027, allocations: 0 / 0.9551 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00561/1.032, allocations: 1.716 MB / 0.9568 GB, free: 12.83 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01189/1.044, allocations: 2.94 MB / 0.9596 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007726/1.045, allocations: 324.5 kB / 0.9599 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.045, allocations: 0 / 0.9599 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/1.045, allocations: 186.5 kB / 0.9601 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/1.046, allocations: 76.06 kB / 0.9602 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/1.053, allocations: 3.096 MB / 0.9632 GB, free: 7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/1.053, allocations: 0.7622 MB / 0.964 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005841/1.054, allocations: 402.8 kB / 0.9643 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/1.054, allocations: 100.5 kB / 0.9644 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/1.054, allocations: 0 / 0.9644 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/1.184, allocations: 63.3 MB / 1.026 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/14.08, allocations: 8.375 kB / 1.026 GB, free: 6.562 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamProperties_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_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.408495616866276] Failed to read output from testmodel.py, exit status != 0: 14.197318840073422 14.217697434 13.306439529 Calling exit ...