Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.0009211/0.0009211, 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.0009371/0.0009371, allocations: 217.7 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 0.952/0.952, 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.8366/0.8366, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.001208/0.001208, allocations: 67.25 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4838, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002059/0.4858, allocations: 1.731 MB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4876, allocations: 1.396 MB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.4876, allocations: 4.656 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.4878, allocations: 22.53 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.4881, allocations: 113.4 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.4884, allocations: 147.9 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.4886, allocations: 264.2 kB / 0.8215 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.905e-05/0.4887, allocations: 15.83 kB / 0.8215 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.4888, allocations: 85.33 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.489, allocations: 104 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.489, allocations: 21.88 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4892, allocations: 124.1 kB / 0.8218 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.4892, allocations: 81.62 kB / 0.8219 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.4893, allocations: 119.3 kB / 0.822 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.4897, allocations: 344 kB / 0.8223 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4897, allocations: 0.6094 kB / 0.8223 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4897, allocations: 1.094 kB / 0.8223 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4897, allocations: 0 / 0.8223 GB, free: 14.45 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005747/0.4902, allocations: 0.5058 MB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4903, allocations: 8.062 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.4903, allocations: 50.27 kB / 0.8229 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.4904, allocations: 26.52 kB / 0.8229 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.4906, allocations: 222.7 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4906, allocations: 11.5 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.4906, allocations: 16.08 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.4909, allocations: 213.2 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4909, allocations: 1.75 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4909, allocations: 5.375 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4909, allocations: 4.125 kB / 0.8233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.4917, allocations: 0.7477 MB / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.4924, allocations: 0.5478 MB / 0.8246 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.4927, allocations: 209.8 kB / 0.8248 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.4928, allocations: 91.17 kB / 0.8249 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.4928, allocations: 20.56 kB / 0.8249 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.4931, allocations: 176.7 kB / 0.8251 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.4931, allocations: 0 / 0.8251 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.000484/0.4936, allocations: 370.8 kB / 0.8254 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.4936, allocations: 134.9 kB / 0.8256 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.4939, allocations: 320.2 kB / 0.8259 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4939, allocations: 29.7 kB / 0.8259 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.494, allocations: 130.4 kB / 0.826 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.4941, allocations: 118.2 kB / 0.8261 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.4941, allocations: 66.66 kB / 0.8262 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.4942, allocations: 336 kB / 0.8265 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.4943, allocations: 80.45 kB / 0.8266 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.4945, allocations: 129.2 kB / 0.8267 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.4947, allocations: 203 kB / 0.8269 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4947, allocations: 0 / 0.8269 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003533/0.4951, allocations: 282.5 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4951, allocations: 10.75 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4951, allocations: 1.344 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4951, allocations: 1.781 kB / 0.8272 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.4953, allocations: 58.17 kB / 0.8272 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.4953, allocations: 5 kB / 0.8273 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.4954, allocations: 28.33 kB / 0.8273 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.4954, allocations: 14.45 kB / 0.8273 GB, free: 11.59 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: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001296/0.4955, allocations: 161.8 kB / 0.8274 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.4956, allocations: 33.09 kB / 0.8275 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.4961, allocations: 377.9 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4961, allocations: 2.625 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4961, allocations: 5 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4961, allocations: 1.922 kB / 0.8278 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4963, allocations: 308.7 kB / 0.8281 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4963, allocations: 0.7031 kB / 0.8281 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4964, allocations: 59.02 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4964, allocations: 2.047 kB / 0.8282 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4964, allocations: 10.98 kB / 0.8282 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4964, allocations: 1.406 kB / 0.8282 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4964, allocations: 8.734 kB / 0.8282 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.4968, allocations: 320.7 kB / 0.8285 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.505e-05/0.4968, allocations: 69.45 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4969, allocations: 6.859 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.497, allocations: 15.64 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.497, allocations: 29.98 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.497, allocations: 11.52 kB / 0.8287 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001645/0.4972, allocations: 248.3 kB / 0.8289 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4972, allocations: 0 / 0.8289 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002462/0.4974, allocations: 84.2 kB / 0.829 GB, free: 10.66 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001542/0.499, allocations: 1.193 MB / 0.8301 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.4993, allocations: 216.6 kB / 0.8303 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4993, allocations: 1.25 kB / 0.8303 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.4997, allocations: 117.1 kB / 0.8305 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.4999, allocations: 42.41 kB / 0.8305 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.502, allocations: 2.499 MB / 0.8329 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.5022, allocations: 0.7576 MB / 0.8337 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.5024, allocations: 145.4 kB / 0.8338 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5025, allocations: 92.91 kB / 0.8339 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.5025, allocations: 0 / 0.8339 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.5228, allocations: 6.312 MB / 0.8401 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.485, allocations: 7.75 kB / 0.8401 GB, free: 5.27 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.618260262068361] Failed to read output from testmodel.py, exit status != 0: 7.621320125181228 7.63371599 7.141841311 Calling exit ...