Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001671/0.001671, allocations: 119 kB / 19.69 MB, free: 2.199 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.002014/0.002014, allocations: 224.9 kB / 23.01 MB, free: 5.047 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.9759/0.9759, allocations: 150 MB / 463.2 MB, free: 10.46 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.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002018/0.002018, allocations: 66.78 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1883, allocations: 89.18 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002593/0.1908, allocations: 1.292 MB / 0.7296 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1924, allocations: 0.8372 MB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.1924, allocations: 8 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.1924, allocations: 3.984 kB / 0.7304 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.1925, allocations: 3.938 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.193, allocations: 127.4 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.193, allocations: 23.92 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.1931, allocations: 4 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.1931, allocations: 11.92 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.1932, allocations: 8 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.1932, allocations: 8 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.1936, allocations: 183.6 kB / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.1936, allocations: 0 / 0.7308 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1936, allocations: 15.92 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1939, allocations: 112 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.1939, allocations: 4 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1939, allocations: 3.938 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1939, allocations: 4 kB / 0.7309 GB, free: 14.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004968/0.1944, allocations: 294 kB / 0.7312 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1944, allocations: 12.03 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1945, allocations: 34.69 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1945, allocations: 4.938 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1946, allocations: 106.5 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1947, allocations: 59.95 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.1947, allocations: 384 / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1949, allocations: 50 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1949, allocations: 0 / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1949, allocations: 0 / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1949, allocations: 4 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.195, allocations: 19.98 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.1952, allocations: 140.6 kB / 0.7316 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1955, allocations: 42.61 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.1955, allocations: 16.94 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.1958, allocations: 31.97 kB / 0.7317 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.1959, allocations: 34.5 kB / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1959, allocations: 0 / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002675/0.1961, allocations: 73.78 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1962, allocations: 51.41 kB / 0.7319 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.1963, allocations: 93.86 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1963, allocations: 33.7 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.1963, allocations: 84.14 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1963, allocations: 11.89 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.1964, allocations: 21.72 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1965, allocations: 310.8 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.1966, allocations: 11.98 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.952e-05/0.1966, allocations: 11.94 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.1967, allocations: 28.84 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1967, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.1969, allocations: 61.62 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1969, allocations: 11.92 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1969, allocations: 0 / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1969, allocations: 0 / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.197, allocations: 8 kB / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.197, allocations: 0 / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.197, allocations: 4 kB / 0.7325 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.197, allocations: 0 / 0.7325 GB, free: 12.74 MB / 0.5606 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 (4): * Single equations (assignments): 4 * 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 9.317e-05/0.1971, allocations: 113.8 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1971, allocations: 15.88 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.1973, allocations: 69.23 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1973, allocations: 4 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1973, allocations: 0 / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1973, allocations: 0 / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1974, allocations: 124.8 kB / 0.7328 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1974, allocations: 4 kB / 0.7328 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.1975, allocations: 12 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1975, allocations: 3.938 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1975, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1975, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1975, allocations: 0 / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.1977, allocations: 81.11 kB / 0.7329 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1977, allocations: 23.81 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1977, allocations: 4 kB / 0.733 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.1978, allocations: 7.938 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.1978, allocations: 3.984 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1978, allocations: 432 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.1979, allocations: 87.27 kB / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1979, allocations: 0 / 0.7331 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002695/0.1981, allocations: 31.88 kB / 0.7331 GB, free: 12.08 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0006078/0.1987, allocations: 0.6669 MB / 0.7337 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1989, allocations: 27.92 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1989, allocations: 0 / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.1989, allocations: 11.98 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1992, allocations: 8 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004486/0.1997, allocations: 173 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.2, allocations: 0.6768 MB / 0.7346 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.2, allocations: 7.938 kB / 0.7346 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.2001, allocations: 11.44 kB / 0.7346 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2001, allocations: 0 / 0.7346 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.2292, allocations: 2.102 MB / 0.7367 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.23, allocations: 13.88 kB / 0.7367 GB, free: 8.43 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.13215440699787] Failed to read output from testmodel.py, exit status != 0: 11.339486433000275 11.371943403 11.172510008 Calling exit ...