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.001271/0.001271, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001465/0.001465, allocations: 216.4 kB / 22.25 MB, free: 5.117 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 MB, free: 7.996 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.9236/0.9236, allocations: 134 MB / 446.4 MB, free: 10.23 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.002963/0.002963, allocations: 72.42 kB / 0.6186 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.198, allocations: 85.9 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002654/0.2007, allocations: 1.298 MB / 0.7037 GB, free: 108 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2023, allocations: 0.8458 MB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.2023, allocations: 0 / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.2023, allocations: 0 / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.2024, allocations: 7.938 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.2029, allocations: 135.4 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.39e-05/0.203, allocations: 23.92 kB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.203, allocations: 7.922 kB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.195e-05/0.2031, allocations: 15.94 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.2032, allocations: 11.92 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2032, allocations: 0 / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.2036, allocations: 171.8 kB / 0.7049 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.2036, allocations: 8 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.2036, allocations: 11.92 kB / 0.7049 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.204, allocations: 127.9 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.204, allocations: 3.938 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.734e-06/0.204, allocations: 0 / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.204, allocations: 0 / 0.705 GB, free: 14.74 MB / 0.5294 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.0005401/0.2045, allocations: 280.7 kB / 0.7053 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.2046, allocations: 8.031 kB / 0.7053 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.2046, allocations: 42.73 kB / 0.7054 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.2047, allocations: 8.891 kB / 0.7054 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2048, allocations: 110.5 kB / 0.7055 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2049, allocations: 51.97 kB / 0.7055 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.2049, allocations: 4.375 kB / 0.7055 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2051, allocations: 46 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2051, allocations: 3.938 kB / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2051, allocations: 7.984 kB / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2051, allocations: 0 / 0.7056 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2052, allocations: 23.91 kB / 0.7056 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.2054, allocations: 132.8 kB / 0.7057 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2056, allocations: 42.56 kB / 0.7058 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.823e-05/0.2057, allocations: 12.86 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.2059, allocations: 24.06 kB / 0.7058 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.206, allocations: 42.5 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.206, allocations: 0 / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002619/0.2062, allocations: 69.61 kB / 0.7059 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2063, allocations: 51.41 kB / 0.706 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.2063, allocations: 101.8 kB / 0.7061 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.2064, allocations: 25.7 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.2064, allocations: 80.14 kB / 0.7062 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2064, allocations: 11.91 kB / 0.7062 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.2065, allocations: 21.66 kB / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2066, allocations: 318.8 kB / 0.7065 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.2067, allocations: 8 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.2067, allocations: 7.984 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.2068, allocations: 36.78 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2068, allocations: 0 / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.207, allocations: 53.69 kB / 0.7066 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.207, allocations: 11.94 kB / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.207, allocations: 0 / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.207, allocations: 0 / 0.7066 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.2071, allocations: 7.984 kB / 0.7066 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2071, allocations: 4 kB / 0.7066 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.2071, allocations: 7.953 kB / 0.7066 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.2071, allocations: 0 / 0.7066 GB, free: 12.91 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.251e-05/0.2072, allocations: 116 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2072, allocations: 3.938 kB / 0.7067 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.2074, allocations: 69.3 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2074, allocations: 0 / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2074, allocations: 0 / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2074, allocations: 0.5625 kB / 0.7068 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.2076, allocations: 140.7 kB / 0.7069 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2076, allocations: 4 kB / 0.7069 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.2076, allocations: 7.984 kB / 0.707 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2076, allocations: 3.938 kB / 0.707 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.2076, allocations: 8 kB / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2076, allocations: 0 / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2076, allocations: 3.938 kB / 0.707 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.2078, allocations: 92.98 kB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.2079, allocations: 3.938 kB / 0.7071 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2079, allocations: 4 kB / 0.7071 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.2079, allocations: 3.984 kB / 0.7071 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.208, allocations: 8 kB / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.208, allocations: 4 kB / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.208, allocations: 75.28 kB / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.208, allocations: 0 / 0.7071 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002564/0.2083, allocations: 35.86 kB / 0.7072 GB, free: 12.26 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.0006616/0.2089, allocations: 0.6629 MB / 0.7078 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.2091, allocations: 23.98 kB / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2091, allocations: 0 / 0.7079 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.2092, allocations: 16 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.2094, allocations: 7.984 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.2099, allocations: 181 kB / 0.708 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2102, allocations: 0.6766 MB / 0.7087 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.929e-05/0.2103, allocations: 7.984 kB / 0.7087 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.2103, allocations: 15.42 kB / 0.7087 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2103, allocations: 4 kB / 0.7087 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.239, allocations: 2.089 MB / 0.7108 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.06, allocations: 3 kB / 0.7108 GB, free: 8.613 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.861881957003789] Failed to read output from testmodel.py, exit status != 0: 11.164307557002758 11.195043614 10.985386977 Calling exit ...