Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000772/0.000772, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001062/0.001062, allocations: 218.3 kB / 22.25 MB, free: 3.699 MB / 13.93 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.977/0.977, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7731/0.7731, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_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.0009243/0.0009243, allocations: 63 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4422, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001576/0.4438, allocations: 1.306 MB / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.4446, allocations: 0.8509 MB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.4447, allocations: 0 / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.4447, allocations: 6.625 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.539e-05/0.4447, allocations: 8.531 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.4451, allocations: 133.5 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.4452, allocations: 21.5 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.4453, allocations: 2.797 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.4453, allocations: 15.88 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.4454, allocations: 16.73 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.4454, allocations: 0 / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.4456, allocations: 171.5 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.4456, allocations: 8.125 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.4457, allocations: 10.59 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.4458, allocations: 127.8 kB / 0.8205 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4459, allocations: 0 / 0.8205 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4459, allocations: 0 / 0.8205 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4459, allocations: 1.156 kB / 0.8205 GB, free: 15.57 MB / 0.6198 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.0003493/0.4462, allocations: 281.1 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4462, allocations: 9.25 kB / 0.8207 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.4463, allocations: 39.88 kB / 0.8208 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.4463, allocations: 9.391 kB / 0.8208 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.291e-05/0.4464, allocations: 103.2 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.4464, allocations: 56.2 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.4465, allocations: 4.203 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.723e-05/0.4466, allocations: 45.58 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4466, allocations: 1.281 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.4466, allocations: 4.5 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4466, allocations: 3.938 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.4466, allocations: 29.09 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.4467, allocations: 124.5 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.4469, allocations: 44.02 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.4469, allocations: 15.31 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.4471, allocations: 30.33 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4471, allocations: 36.55 kB / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4471, allocations: 0 / 0.8213 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001664/0.4473, allocations: 69.59 kB / 0.8213 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.4473, allocations: 51.41 kB / 0.8214 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.823e-05/0.4473, allocations: 99.03 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.4473, allocations: 31.98 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.4474, allocations: 84.14 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4474, allocations: 14.06 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.4474, allocations: 19.86 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.4475, allocations: 312 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.4475, allocations: 7.891 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.4475, allocations: 10.94 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.4476, allocations: 34.3 kB / 0.822 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4476, allocations: 4 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.822e-05/0.4477, allocations: 52.88 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4477, allocations: 9.797 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4477, allocations: 0 / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4477, allocations: 3.344 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.302e-05/0.4477, allocations: 9.984 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.4477, allocations: 0 / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.4477, allocations: 8.578 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.4477, allocations: 0 / 0.822 GB, free: 14 MB / 0.6198 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 0.0001819/0.4479, allocations: 118 kB / 0.8222 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.4479, allocations: 4.5 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4481, allocations: 69.45 kB / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4481, allocations: 0.7031 kB / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4481, allocations: 0 / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4481, allocations: 0.5156 kB / 0.8222 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.661e-05/0.4481, allocations: 126.4 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4481, allocations: 0 / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.4481, allocations: 15.41 kB / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4482, allocations: 5.031 kB / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4482, allocations: 4.078 kB / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.4482, allocations: 0 / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4482, allocations: 0.7031 kB / 0.8224 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.185e-05/0.4482, allocations: 89.28 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.4483, allocations: 13.61 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.4483, allocations: 0.6562 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.417e-05/0.4483, allocations: 7.547 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.4483, allocations: 1.594 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4483, allocations: 3.047 kB / 0.8225 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.311e-05/0.4484, allocations: 82.27 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4484, allocations: 3.438 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001557/0.4485, allocations: 33.69 kB / 0.8226 GB, free: 13.47 MB / 0.6198 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.0003408/0.4489, allocations: 0.667 MB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.431e-05/0.449, allocations: 27.31 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.449, allocations: 0 / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.449, allocations: 8.719 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4492, allocations: 11.27 kB / 0.8233 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.4495, allocations: 175.5 kB / 0.8235 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.4496, allocations: 0.6772 MB / 0.8241 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.4497, allocations: 15.94 kB / 0.8241 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.4497, allocations: 16.19 kB / 0.8242 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.4497, allocations: 3.188 kB / 0.8242 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.4666, allocations: 2.095 MB / 0.8262 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/7.299, allocations: 1.281 kB / 0.8262 GB, free: 11.48 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.28857141896151] Failed to read output from testmodel.py, exit status != 0: 7.375798980006948 7.389147619 6.94087029 Calling exit ...