Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.0008995/0.0008995, 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.0009231/0.0009231, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9689/0.9689, allocations: 230.6 MB / 256 MB, free: 3.445 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.8013/0.8013, allocations: 203.8 MB / 0.5042 GB, free: 0.6875 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.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_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.001406/0.001406, allocations: 71.89 kB / 0.7182 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5465, allocations: 102 MB / 0.8178 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003755/0.5502, allocations: 1.523 MB / 0.8193 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.5515, allocations: 0.824 MB / 0.8201 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.5516, allocations: 0.6875 kB / 0.8201 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.5516, allocations: 5.203 kB / 0.8201 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.333e-05/0.5517, allocations: 14.72 kB / 0.8202 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.5524, allocations: 132.5 kB / 0.8203 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.5526, allocations: 51.44 kB / 0.8203 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.5527, allocations: 12.02 kB / 0.8203 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.5528, allocations: 22.19 kB / 0.8204 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.5528, allocations: 29.27 kB / 0.8204 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.5529, allocations: 6.562 kB / 0.8204 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.5533, allocations: 171.1 kB / 0.8206 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.5533, allocations: 11.16 kB / 0.8206 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.5534, allocations: 23.55 kB / 0.8206 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003765/0.5538, allocations: 153.7 kB / 0.8207 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5538, allocations: 0.8438 kB / 0.8207 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5538, allocations: 0 / 0.8207 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.5538, allocations: 2.344 kB / 0.8207 GB, free: 23.06 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005052/0.5543, allocations: 325.8 kB / 0.8211 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/0.5544, allocations: 11.16 kB / 0.8211 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.5544, allocations: 41.52 kB / 0.8211 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.5544, allocations: 3.188 kB / 0.8211 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.5545, allocations: 120.8 kB / 0.8212 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5545, allocations: 2.156 kB / 0.8212 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.5546, allocations: 7.375 kB / 0.8212 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.5548, allocations: 73.69 kB / 0.8213 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5548, allocations: 4.5 kB / 0.8213 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5548, allocations: 0 / 0.8213 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5548, allocations: 1.594 kB / 0.8213 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.555, allocations: 73.23 kB / 0.8214 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.5554, allocations: 253.1 kB / 0.8216 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.5556, allocations: 54.33 kB / 0.8217 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.5557, allocations: 44.3 kB / 0.8217 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.5558, allocations: 16.83 kB / 0.8217 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5559, allocations: 35.98 kB / 0.8218 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.5559, allocations: 0 / 0.8218 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003771/0.5562, allocations: 133.7 kB / 0.8219 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.5563, allocations: 52.38 kB / 0.8219 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.5563, allocations: 121.5 kB / 0.8221 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.5564, allocations: 26.8 kB / 0.8221 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.5564, allocations: 88.23 kB / 0.8222 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.5564, allocations: 9.734 kB / 0.8222 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.5564, allocations: 21.42 kB / 0.8222 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.5565, allocations: 318.2 kB / 0.8225 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.5566, allocations: 32.14 kB / 0.8225 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.5566, allocations: 31.03 kB / 0.8226 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.5568, allocations: 74.69 kB / 0.8226 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5568, allocations: 0.7188 kB / 0.8226 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001745/0.557, allocations: 103 kB / 0.8227 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.557, allocations: 4.875 kB / 0.8227 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.557, allocations: 0.75 kB / 0.8227 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.557, allocations: 5.75 kB / 0.8227 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.5571, allocations: 15.16 kB / 0.8228 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5571, allocations: 1.094 kB / 0.8228 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.5571, allocations: 12.22 kB / 0.8228 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5571, allocations: 5.375 kB / 0.8228 GB, free: 21.4 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.332e-05/0.5572, allocations: 111.9 kB / 0.8229 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.5572, allocations: 11.58 kB / 0.8229 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.5574, allocations: 109.3 kB / 0.823 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5574, allocations: 1.375 kB / 0.823 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5574, allocations: 4 kB / 0.823 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5574, allocations: 1.641 kB / 0.823 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.5575, allocations: 147.4 kB / 0.8231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5575, allocations: 1.812 kB / 0.8231 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.5576, allocations: 23.53 kB / 0.8232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5576, allocations: 0 / 0.8232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.5576, allocations: 0.6875 kB / 0.8232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5576, allocations: 1.672 kB / 0.8232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5576, allocations: 0 / 0.8232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.5578, allocations: 198.8 kB / 0.8234 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.5578, allocations: 7.812 kB / 0.8234 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.5578, allocations: 4.703 kB / 0.8234 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.5579, allocations: 11.3 kB / 0.8234 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.5579, allocations: 4.75 kB / 0.8234 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.5579, allocations: 6.078 kB / 0.8234 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.799e-05/0.558, allocations: 89.88 kB / 0.8235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.558, allocations: 1.406 kB / 0.8235 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002292/0.5582, allocations: 37.14 kB / 0.8235 GB, free: 20.79 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0004646/0.5587, allocations: 0.7691 MB / 0.8243 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.5589, allocations: 70.94 kB / 0.8243 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5589, allocations: 0.5938 kB / 0.8243 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.559, allocations: 34.12 kB / 0.8244 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.5593, allocations: 16.89 kB / 0.8244 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.5604, allocations: 1.437 MB / 0.8258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.839e-05/0.5605, allocations: 0.6857 MB / 0.8265 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.5605, allocations: 8.797 kB / 0.8265 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.5606, allocations: 14.02 kB / 0.8265 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of SimCode: time 8.81e-07/0.5606, allocations: 1.281 kB / 0.8265 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.5831, allocations: 2.619 MB / 0.829 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.325/6.908, allocations: 6.656 kB / 0.829 GB, free: 17.63 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.02174888085574] Failed to read output from testmodel.py, exit status != 0: 6.989468117011711 7.000071096 6.444149449 Calling exit ...