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.001254/0.001254, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00144/0.00144, allocations: 211.4 kB / 22.99 MB, free: 4.609 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.977/0.977, allocations: 149.9 MB / 463.1 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: "" <> 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.002087/0.002087, allocations: 70.95 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2248, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.65/0.8748, allocations: 119.6 MB / 0.845 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03225/0.9071, allocations: 20.24 MB / 0.8647 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.9073, allocations: 0 / 0.8647 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.9077, allocations: 43.69 kB / 0.8648 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.9081, allocations: 99.36 kB / 0.8649 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.02624/0.9344, allocations: 6.937 MB / 0.8716 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005684/0.9349, allocations: 255.8 kB / 0.8719 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.935, allocations: 9.75 kB / 0.8719 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.9354, allocations: 143.4 kB / 0.872 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.9356, allocations: 87.66 kB / 0.8721 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.9357, allocations: 8 kB / 0.8721 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0253/0.961, allocations: 11.11 MB / 0.883 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.9611, allocations: 39.89 kB / 0.883 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.9613, allocations: 71.73 kB / 0.8831 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02063/0.9819, allocations: 6.474 MB / 0.8894 GB, free: 15.66 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.9819, allocations: 4 kB / 0.8894 GB, free: 15.65 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9819, allocations: 0 / 0.8894 GB, free: 15.65 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.9819, allocations: 0 / 0.8894 GB, free: 15.65 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.00438/0.9863, allocations: 1.174 MB / 0.8906 GB, free: 14.44 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9864, allocations: 8.031 kB / 0.8906 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.9864, allocations: 54.73 kB / 0.8906 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.9875, allocations: 88.75 kB / 0.8907 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.9879, allocations: 166.4 kB / 0.8909 GB, free: 14.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.9879, allocations: 11.94 kB / 0.8909 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.988, allocations: 20 kB / 0.8909 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.9893, allocations: 0.67 MB / 0.8915 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.9893, allocations: 0 / 0.8915 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.9893, allocations: 8 kB / 0.8916 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.9893, allocations: 4 kB / 0.8916 GB, free: 13.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.9906, allocations: 0.6088 MB / 0.8921 GB, free: 12.71 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.9918, allocations: 0.7342 MB / 0.8929 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.9925, allocations: 236.5 kB / 0.8931 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.9927, allocations: 68.83 kB / 0.8932 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0944/1.087, allocations: 23.36 MB / 0.916 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/1.087, allocations: 38.48 kB / 0.916 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 2.335e-06/1.087, allocations: 4 kB / 0.916 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.0019/1.089, allocations: 421.1 kB / 0.9164 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.089, allocations: 55.41 kB / 0.9165 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/1.089, allocations: 143.6 kB / 0.9166 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/1.089, allocations: 29.7 kB / 0.9166 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/1.089, allocations: 108.5 kB / 0.9167 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/1.089, allocations: 95.2 kB / 0.9168 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.09, allocations: 73.67 kB / 0.9169 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.09, allocations: 326.8 kB / 0.9172 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/1.09, allocations: 87.94 kB / 0.9173 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/1.09, allocations: 137 kB / 0.9174 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/1.091, allocations: 223.6 kB / 0.9176 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.091, allocations: 0 / 0.9176 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008453/1.092, allocations: 297.3 kB / 0.9179 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.092, allocations: 4 kB / 0.9179 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.092, allocations: 8.156 kB / 0.9179 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.092, allocations: 4 kB / 0.9179 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/1.092, allocations: 83.88 kB / 0.918 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/1.092, allocations: 2.938 kB / 0.918 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/1.092, allocations: 31.72 kB / 0.918 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/1.092, allocations: 23.97 kB / 0.9181 GB, free: 1.965 MB / 0.6856 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.0001661/1.092, allocations: 125.8 kB / 0.9182 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/1.093, allocations: 19.91 kB / 0.9182 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/1.096, allocations: 2.488 MB / 0.9206 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.096, allocations: 15.92 kB / 0.9207 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.096, allocations: 0 / 0.9207 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.096, allocations: 3.938 kB / 0.9207 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004141/1.1, allocations: 3.579 MB / 0.9241 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.1, allocations: 0 / 0.9241 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.1, allocations: 59.88 kB / 0.9242 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.1, allocations: 0 / 0.9242 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/1.1, allocations: 11.94 kB / 0.9242 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.1, allocations: 0 / 0.9242 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.1, allocations: 0 / 0.9242 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/1.101, allocations: 0.5584 MB / 0.9248 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/1.101, allocations: 67.64 kB / 0.9248 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.101, allocations: 3.938 kB / 0.9248 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/1.102, allocations: 15.98 kB / 0.9248 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/1.102, allocations: 19.95 kB / 0.9249 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/1.102, allocations: 19.98 kB / 0.9249 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001071/1.102, allocations: 104.7 kB / 0.925 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.102, allocations: 0 / 0.925 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00521/1.107, allocations: 1.715 MB / 0.9267 GB, free: 9.023 MB / 0.7012 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.01126/1.118, allocations: 2.963 MB / 0.9296 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008288/1.119, allocations: 321.6 kB / 0.9299 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.119, allocations: 7.938 kB / 0.9299 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/1.119, allocations: 192.5 kB / 0.9301 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/1.12, allocations: 66.83 kB / 0.9301 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007841/1.128, allocations: 3.089 MB / 0.9331 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/1.128, allocations: 156.7 kB / 0.9333 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007604/1.129, allocations: 413.2 kB / 0.9337 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.129, allocations: 99.38 kB / 0.9338 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of SimCode: time 1.914e-06/1.129, allocations: 3.938 kB / 0.9338 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1398/1.269, allocations: 64.23 MB / 0.9965 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.62, allocations: 3.5 kB / 0.9965 GB, free: 1.469 MB / 0.7637 GB " [Timeout remaining time 643] (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: 20.798484737984836] Failed to read output from testmodel.py, exit status != 0: 16.775207905098796 16.804924652 15.817356375 Calling exit ...