Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.0008764/0.0008764, 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.001005/0.001005, allocations: 222.3 kB / 22.26 MB, free: 3.691 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.9905/0.9905, allocations: 230.6 MB / 256 MB, free: 9.801 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.7919/0.7919, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001278/0.001278, allocations: 62.78 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5045, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001701/0.5062, allocations: 1.291 MB / 0.8191 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/0.5066, allocations: 302.2 kB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.5066, allocations: 0 / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.5066, allocations: 0 / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.5067, allocations: 6.844 kB / 0.8194 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.5069, allocations: 53.22 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.507, allocations: 15.88 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.507, allocations: 8.547 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.5071, allocations: 4.078 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.5071, allocations: 7.703 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.5071, allocations: 0 / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.5072, allocations: 56.28 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.5072, allocations: 0.6562 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.5073, allocations: 15.7 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.5074, allocations: 40.45 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5074, allocations: 4.594 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5074, allocations: 0 / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.5074, allocations: 4 kB / 0.8196 GB, free: 60 kB / 0.6042 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.0003351/0.5077, allocations: 259.9 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5078, allocations: 11.72 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.5078, allocations: 38.69 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.508, allocations: 16.89 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.725e-05/0.508, allocations: 110.2 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5081, allocations: 5.297 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.5081, allocations: 384 / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5082, allocations: 45.52 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.5082, allocations: 3.938 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5082, allocations: 2.641 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5082, allocations: 0 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.5083, allocations: 17.94 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.5084, allocations: 134.9 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/0.5093, allocations: 265.1 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.5093, allocations: 15.42 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.5093, allocations: 1.031 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.5093, allocations: 34.36 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.5093, allocations: 4 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000132/0.5095, allocations: 73.94 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.5095, allocations: 52.11 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.384e-05/0.5095, allocations: 94.52 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.5095, allocations: 25.7 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.5096, allocations: 80.14 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.5096, allocations: 15.28 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.5096, allocations: 20.33 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.5097, allocations: 318.5 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.5097, allocations: 10.42 kB / 0.8212 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.5097, allocations: 8.734 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.5098, allocations: 28.62 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5098, allocations: 0 / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.385e-05/0.5098, allocations: 55.77 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5098, allocations: 9.031 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5098, allocations: 2.484 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5099, allocations: 0 / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.152e-05/0.5099, allocations: 10.05 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5099, allocations: 0.75 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.5099, allocations: 1.312 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.5099, allocations: 1.5 kB / 0.8213 GB, free: 14.54 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 4.833e-05/0.51, allocations: 109.5 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.51, allocations: 8.953 kB / 0.8214 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.51, allocations: 7.531 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.51, allocations: 0 / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.51, allocations: 2.328 kB / 0.8214 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.51, allocations: 7.938 kB / 0.8214 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.098e-05/0.5101, allocations: 131.7 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.5101, allocations: 0 / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.5101, allocations: 8.547 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5101, allocations: 5.469 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.5101, allocations: 0 / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5101, allocations: 4 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5101, allocations: 2.25 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.043e-05/0.5102, allocations: 77.19 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.5102, allocations: 8.266 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.5102, allocations: 8.547 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.5102, allocations: 2.219 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.5102, allocations: 3.562 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5103, allocations: 0 / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.083e-05/0.5103, allocations: 77.09 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5103, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001182/0.5104, allocations: 7.688 kB / 0.8218 GB, free: 14.07 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.0002421/0.5106, allocations: 0.6161 MB / 0.8224 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.5107, allocations: 24.22 kB / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5107, allocations: 0 / 0.8224 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.524e-05/0.5107, allocations: 17.95 kB / 0.8224 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.5109, allocations: 12.92 kB / 0.8224 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.5112, allocations: 153 kB / 0.8226 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.5114, allocations: 0.6746 MB / 0.8232 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.5115, allocations: 15.5 kB / 0.8232 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.5115, allocations: 10.22 kB / 0.8232 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.5115, allocations: 0 / 0.8232 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.5233, allocations: 1.436 MB / 0.8246 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/7.058, allocations: 9.609 kB / 0.8247 GB, free: 12.15 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X_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_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.193557434016839] Failed to read output from testmodel.py, exit status != 0: 7.137228362960741 7.149143618 6.639658491 Calling exit ...