Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001349/0.001349, allocations: 103 kB / 16.45 MB, free: 6.449 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.001367/0.001367, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8457/0.8457, allocations: 133.9 MB / 442.8 MB, free: 11.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001966/0.001966, allocations: 71.81 kB / 0.6134 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1924, allocations: 85.83 MB / 0.6973 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002738/0.1951, allocations: 1.297 MB / 0.6985 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1967, allocations: 0.8346 MB / 0.6993 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.1967, allocations: 0 / 0.6993 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1967, allocations: 0 / 0.6993 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.1968, allocations: 7.922 kB / 0.6993 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.1973, allocations: 132.6 kB / 0.6995 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.1974, allocations: 31.86 kB / 0.6995 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.1974, allocations: 4 kB / 0.6995 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.1975, allocations: 7.938 kB / 0.6995 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.1975, allocations: 23.91 kB / 0.6995 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1976, allocations: 0 / 0.6995 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.1979, allocations: 167.8 kB / 0.6997 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.1979, allocations: 7.969 kB / 0.6997 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.1979, allocations: 7.938 kB / 0.6997 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.1982, allocations: 127.8 kB / 0.6998 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1982, allocations: 4 kB / 0.6998 GB, free: 312 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1982, allocations: 0 / 0.6998 GB, free: 312 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.1982, allocations: 4 kB / 0.6998 GB, free: 308 kB / 0.5137 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.0005607/0.1988, allocations: 363.2 kB / 0.7002 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1989, allocations: 9.109 kB / 0.7002 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.1989, allocations: 30.75 kB / 0.7002 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1989, allocations: 8.891 kB / 0.7002 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1991, allocations: 164.3 kB / 0.7004 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.1992, allocations: 34.25 kB / 0.7004 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1992, allocations: 384 / 0.7004 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1994, allocations: 53.98 kB / 0.7005 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1994, allocations: 3.938 kB / 0.7005 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1994, allocations: 8 kB / 0.7005 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1994, allocations: 0 / 0.7005 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.1995, allocations: 11.98 kB / 0.7005 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1997, allocations: 161.7 kB / 0.7007 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.2, allocations: 38.56 kB / 0.7007 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.2, allocations: 20.86 kB / 0.7007 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.2004, allocations: 174.3 kB / 0.7009 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.2004, allocations: 42.48 kB / 0.7009 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.2004, allocations: 3.938 kB / 0.7009 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0003389/0.2008, allocations: 69.62 kB / 0.701 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2008, allocations: 55.39 kB / 0.701 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.2009, allocations: 97.86 kB / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2009, allocations: 25.7 kB / 0.7012 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.201, allocations: 80.14 kB / 0.7012 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.201, allocations: 11.84 kB / 0.7012 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.201, allocations: 21.7 kB / 0.7013 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.2012, allocations: 314.8 kB / 0.7016 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.634e-05/0.2013, allocations: 12 kB / 0.7016 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.2013, allocations: 11.98 kB / 0.7016 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.2015, allocations: 32.78 kB / 0.7016 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2015, allocations: 4 kB / 0.7016 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.2016, allocations: 49.69 kB / 0.7017 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.2016, allocations: 11.94 kB / 0.7017 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2016, allocations: 0 / 0.7017 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2016, allocations: 0.5156 kB / 0.7017 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.2017, allocations: 11.98 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.2017, allocations: 4 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.2017, allocations: 3.953 kB / 0.7017 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.2017, allocations: 0 / 0.7017 GB, free: 14.12 MB / 0.5294 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.553e-05/0.2018, allocations: 113.8 kB / 0.7018 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.2019, allocations: 3.938 kB / 0.7018 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.2021, allocations: 77.08 kB / 0.7019 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2021, allocations: 0 / 0.7019 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2021, allocations: 4 kB / 0.7019 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.2021, allocations: 0 / 0.7019 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.2023, allocations: 157.6 kB / 0.702 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2023, allocations: 4 kB / 0.702 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.2023, allocations: 4 kB / 0.702 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2023, allocations: 3.938 kB / 0.7021 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.2023, allocations: 8 kB / 0.7021 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2023, allocations: 0 / 0.7021 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2023, allocations: 0 / 0.7021 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2025, allocations: 93 kB / 0.7021 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.2026, allocations: 85.03 kB / 0.7022 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.2026, allocations: 0 / 0.7022 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.2027, allocations: 4 kB / 0.7022 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2027, allocations: 0 / 0.7022 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2027, allocations: 4 kB / 0.7022 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.813e-05/0.2028, allocations: 83.27 kB / 0.7023 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2028, allocations: 0 / 0.7023 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002595/0.203, allocations: 43.75 kB / 0.7024 GB, free: 13.34 MB / 0.5294 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.0006809/0.2037, allocations: 0.6653 MB / 0.703 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.2039, allocations: 23.98 kB / 0.703 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2039, allocations: 4 kB / 0.703 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.204, allocations: 11.98 kB / 0.703 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2042, allocations: 8 kB / 0.7031 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.2047, allocations: 168.7 kB / 0.7032 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.205, allocations: 0.6805 MB / 0.7039 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.2051, allocations: 8 kB / 0.7039 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.2051, allocations: 15.44 kB / 0.7039 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.2051, allocations: 0 / 0.7039 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.2308, allocations: 1.991 MB / 0.7058 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.013, allocations: 13.7 kB / 0.7059 GB, free: 9.793 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.799071409986936] Failed to read output from testmodel.py, exit status != 0: 8.08154534100322 8.108770817 7.905430707 Calling exit ...