Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.0009203/0.0009203, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001154/0.001154, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9165/0.9165, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.5699/0.5699, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.5541 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.176e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002726/0.002757, allocations: 1.272 MB / 0.5554 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1137/0.1165, allocations: 120.9 MB / 0.6735 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.1165, allocations: 0 / 0.6735 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.1166, allocations: 0 / 0.6735 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.1166, allocations: 3.984 kB / 0.6735 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.1179, allocations: 482 kB / 0.674 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.118, allocations: 39.86 kB / 0.674 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.118, allocations: 0 / 0.674 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.1181, allocations: 35.89 kB / 0.674 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.556e-05/0.1182, allocations: 11.97 kB / 0.674 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1182, allocations: 4 kB / 0.674 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1193, allocations: 0.7996 MB / 0.6748 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.1193, allocations: 7.984 kB / 0.6748 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.1194, allocations: 11.98 kB / 0.6748 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.12, allocations: 0.5652 MB / 0.6754 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1201, allocations: 4 kB / 0.6754 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1201, allocations: 0 / 0.6754 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1201, allocations: 0 / 0.6754 GB, free: 6.191 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004732/0.1205, allocations: 294.1 kB / 0.6757 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1206, allocations: 8.031 kB / 0.6757 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1206, allocations: 34.75 kB / 0.6757 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.1208, allocations: 20.88 kB / 0.6757 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.1209, allocations: 105.7 kB / 0.6758 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1209, allocations: 4.375 kB / 0.6758 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1209, allocations: 4.375 kB / 0.6758 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.121, allocations: 139.1 kB / 0.676 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.121, allocations: 0 / 0.676 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1211, allocations: 4 kB / 0.676 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1211, allocations: 0 / 0.676 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.1211, allocations: 15.98 kB / 0.676 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001376/0.1213, allocations: 140.6 kB / 0.6761 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.1213, allocations: 50.58 kB / 0.6762 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.1214, allocations: 17 kB / 0.6762 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005568/0.1269, allocations: 2.872 MB / 0.679 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.127, allocations: 38.44 kB / 0.679 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.127, allocations: 0 / 0.679 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.2844/0.4114, allocations: 14.92 MB / 0.6936 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.4114, allocations: 51.41 kB / 0.6937 GB, free: 168 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.4115, allocations: 92.7 kB / 0.6937 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4115, allocations: 29.33 kB / 0.6938 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.218e-05/0.4115, allocations: 80.8 kB / 0.6939 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4115, allocations: 45.59 kB / 0.6939 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.4116, allocations: 32.03 kB / 0.6939 GB, free: 167.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.4116, allocations: 317.3 kB / 0.6942 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.4116, allocations: 27.34 kB / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.4117, allocations: 21.38 kB / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.4118, allocations: 68.25 kB / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4118, allocations: 0 / 0.6943 GB, free: 167.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000142/0.4119, allocations: 120.6 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4119, allocations: 5.812 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4119, allocations: 0 / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4119, allocations: 2.938 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.412, allocations: 20.84 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.412, allocations: 2.875 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.4121, allocations: 3.375 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.4121, allocations: 11 kB / 0.6945 GB, free: 167.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 4.625e-05/0.4121, allocations: 119.2 kB / 0.6946 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.4121, allocations: 2.781 kB / 0.6946 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.4123, allocations: 123.4 kB / 0.6947 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4123, allocations: 0 / 0.6947 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4123, allocations: 0 / 0.6947 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4123, allocations: 4.547 kB / 0.6947 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.733e-05/0.4124, allocations: 151.4 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4124, allocations: 0 / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.4125, allocations: 25.61 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4125, allocations: 3.328 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.4125, allocations: 3.234 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4125, allocations: 2.344 kB / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4125, allocations: 0 / 0.6949 GB, free: 167 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.4127, allocations: 161.4 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.4128, allocations: 17.8 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4128, allocations: 7.375 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.4129, allocations: 13 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.4129, allocations: 9.781 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.4129, allocations: 12.16 kB / 0.6951 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.367e-05/0.4129, allocations: 75.28 kB / 0.6952 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4129, allocations: 0 / 0.6952 GB, free: 166.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001507/0.4144, allocations: 0.5713 MB / 0.6958 GB, free: 166.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.002548/0.417, allocations: 0.9573 MB / 0.6967 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.4171, allocations: 64.53 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4171, allocations: 4 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.4171, allocations: 36.89 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.4173, allocations: 13.53 kB / 0.6968 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4187, allocations: 1.486 MB / 0.6983 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.566e-05/0.4187, allocations: 67.05 kB / 0.6983 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.984e-05/0.4187, allocations: 25.91 kB / 0.6983 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.4188, allocations: 25 kB / 0.6984 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.4188, allocations: 0 / 0.6984 GB, free: 164.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.4758, allocations: 26.17 MB / 0.7239 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.361, allocations: 1.812 kB / 0.7239 GB, free: 157.5 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.288883458822966] Failed to read output from testmodel.py, exit status != 0: 8.448253800161183 8.456014358 8.334314146 Calling exit ...