Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.0007609/0.0007609, 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.0007706/0.0007706, allocations: 219 kB / 22.26 MB, free: 3.703 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 1.025/1.025, allocations: 230.6 MB / 256 MB, free: 9.812 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.8405/0.8405, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0009505/0.0009505, allocations: 74.58 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5525/0.5534, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002305/0.5557, allocations: 1.709 MB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006209/0.5564, allocations: 416.2 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.5564, allocations: 1.156 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.5566, allocations: 11.05 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.5566, allocations: 22 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.557, allocations: 115.5 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.5572, allocations: 111 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.5573, allocations: 31.17 kB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.5574, allocations: 47.08 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.999e-05/0.5575, allocations: 37.98 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.5575, allocations: 8.031 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.5576, allocations: 59.69 kB / 0.8203 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.5576, allocations: 21.7 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.5577, allocations: 45.36 kB / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.5579, allocations: 135.5 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5579, allocations: 4 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5579, allocations: 1.406 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.5579, allocations: 0 / 0.8205 GB, free: 15.51 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004993/0.5584, allocations: 342 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5584, allocations: 8.094 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.5585, allocations: 40.53 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.5586, allocations: 34.72 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.5588, allocations: 137.7 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.5589, allocations: 66.62 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.5589, allocations: 9.219 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.5591, allocations: 107.7 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5591, allocations: 0 / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5591, allocations: 0 / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5591, allocations: 3.125 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.5593, allocations: 84.77 kB / 0.8213 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.5599, allocations: 353.9 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.5602, allocations: 126.9 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.5603, allocations: 39.45 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.5603, allocations: 8.969 kB / 0.8218 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.5603, allocations: 32.27 kB / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.5603, allocations: 0 / 0.8219 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002935/0.5606, allocations: 138.2 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5606, allocations: 59.5 kB / 0.8221 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5607, allocations: 136.8 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.5608, allocations: 29.75 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.5608, allocations: 105.7 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.5608, allocations: 14.45 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.5609, allocations: 28.39 kB / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.561, allocations: 320.7 kB / 0.8227 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.561, allocations: 35.55 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.5611, allocations: 42.36 kB / 0.8227 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.5612, allocations: 79.16 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5612, allocations: 0 / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001996/0.5614, allocations: 124 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5614, allocations: 5.594 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5614, allocations: 1.906 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.5615, allocations: 5.25 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.5615, allocations: 15.88 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5615, allocations: 1.766 kB / 0.823 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.5616, allocations: 15.33 kB / 0.823 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.5616, allocations: 2.875 kB / 0.823 GB, free: 13.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.995e-05/0.5617, allocations: 121.9 kB / 0.8231 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.5617, allocations: 8.75 kB / 0.8231 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.5617, allocations: 12.25 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5617, allocations: 5 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.5617, allocations: 0 / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5617, allocations: 1.859 kB / 0.8231 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.5619, allocations: 178 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5619, allocations: 1.344 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.5619, allocations: 16.16 kB / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.5619, allocations: 0 / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.562, allocations: 0 / 0.8233 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.562, allocations: 5.016 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.562, allocations: 2.125 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.5621, allocations: 212.3 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.5622, allocations: 10.27 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.5622, allocations: 3.453 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.5623, allocations: 17.83 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.5623, allocations: 7.031 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.5623, allocations: 1.406 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.5624, allocations: 113.3 kB / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5624, allocations: 0 / 0.8237 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001588/0.5625, allocations: 27.88 kB / 0.8237 GB, free: 12.95 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 (7): * Single equations (assignments): 7 * 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.0003581/0.5629, allocations: 0.7259 MB / 0.8244 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.5631, allocations: 80.5 kB / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5631, allocations: 0 / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.5631, allocations: 40.02 kB / 0.8245 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.5634, allocations: 26.02 kB / 0.8245 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.5648, allocations: 1.545 MB / 0.826 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.5651, allocations: 0.6921 MB / 0.8267 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.203e-05/0.5652, allocations: 13.91 kB / 0.8267 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.5652, allocations: 24.58 kB / 0.8268 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.5652, allocations: 1.031 kB / 0.8268 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.5816, allocations: 2.87 MB / 0.8296 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.53/7.111, allocations: 11.5 kB / 0.8296 GB, free: 9.676 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.326155053917319] Failed to read output from testmodel.py, exit status != 0: 7.189540400868282 7.20382631 6.643794346 Calling exit ...