Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008063/0.0008063, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008459/0.0008459, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8667/0.8667, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.72/0.72, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.367e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002/0.002014, allocations: 1.682 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.00348, allocations: 1.379 MB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.003532, allocations: 8 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.003719, allocations: 23.8 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.004006, allocations: 115.3 kB / 0.6213 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.004242, allocations: 150.1 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.004474, allocations: 269.4 kB / 0.6217 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.004567, allocations: 13.59 kB / 0.6217 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004674, allocations: 131.7 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.004799, allocations: 83.83 kB / 0.6219 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.004824, allocations: 16 kB / 0.6219 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.004961, allocations: 119.8 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.005033, allocations: 83.73 kB / 0.6221 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.005092, allocations: 71.81 kB / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.005389, allocations: 358.8 kB / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005391, allocations: 0 / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005392, allocations: 0 / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.005396, allocations: 0 / 0.6225 GB, free: 9.129 MB / 0.5886 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.0005273/0.005924, allocations: 497.5 kB / 0.623 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.005958, allocations: 16.03 kB / 0.623 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.005998, allocations: 50.73 kB / 0.623 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.006048, allocations: 32.75 kB / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.006248, allocations: 216.8 kB / 0.6233 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.00626, allocations: 8.375 kB / 0.6233 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.006277, allocations: 16.38 kB / 0.6233 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.006556, allocations: 324.7 kB / 0.6236 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.006564, allocations: 192 / 0.6236 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.00658, allocations: 7.938 kB / 0.6236 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006586, allocations: 4 kB / 0.6236 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.007087, allocations: 0.688 MB / 0.6243 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005996/0.007686, allocations: 0.519 MB / 0.6248 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.007925, allocations: 208 kB / 0.625 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.008026, allocations: 92.81 kB / 0.6251 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.008057, allocations: 19.92 kB / 0.6251 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.00829, allocations: 199.7 kB / 0.6253 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.008292, allocations: 0 / 0.6253 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.0004696/0.008761, allocations: 368 kB / 0.6256 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.00881, allocations: 132.5 kB / 0.6258 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.009017, allocations: 321.7 kB / 0.6261 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.009035, allocations: 37.64 kB / 0.6261 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.009097, allocations: 132.7 kB / 0.6262 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.009154, allocations: 111 kB / 0.6263 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.009215, allocations: 69.67 kB / 0.6264 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.009304, allocations: 338.8 kB / 0.6267 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.009396, allocations: 79.89 kB / 0.6268 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.009764, allocations: 201.5 kB / 0.627 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.009978, allocations: 204.7 kB / 0.6272 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.009981, allocations: 7.984 kB / 0.6272 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002779/0.01026, allocations: 273.9 kB / 0.6275 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01027, allocations: 9.719 kB / 0.6275 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01028, allocations: 0 / 0.6275 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.01029, allocations: 0 / 0.6275 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01042, allocations: 63.91 kB / 0.6275 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.01043, allocations: 0 / 0.6275 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.01051, allocations: 23.88 kB / 0.6276 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01052, allocations: 12 kB / 0.6276 GB, free: 3.652 MB / 0.5886 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.0001012/0.01062, allocations: 166.7 kB / 0.6277 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.01065, allocations: 31.81 kB / 0.6278 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.01104, allocations: 380.7 kB / 0.6281 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01105, allocations: 4 kB / 0.6281 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01105, allocations: 4 kB / 0.6281 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01105, allocations: 0 / 0.6281 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.01124, allocations: 280.4 kB / 0.6284 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01124, allocations: 0 / 0.6284 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.334e-05/0.01134, allocations: 55.91 kB / 0.6284 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01134, allocations: 4 kB / 0.6285 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.01135, allocations: 8 kB / 0.6285 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01135, allocations: 0 / 0.6285 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01135, allocations: 0 / 0.6285 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.01164, allocations: 326.2 kB / 0.6288 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.862e-05/0.01172, allocations: 71.72 kB / 0.6288 GB, free: 2.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.01174, allocations: 12 kB / 0.6288 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.01182, allocations: 15.98 kB / 0.6289 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.01185, allocations: 19.95 kB / 0.6289 GB, free: 2.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.01187, allocations: 15.98 kB / 0.6289 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001375/0.01201, allocations: 245.2 kB / 0.6291 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01201, allocations: 0 / 0.6291 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002085/0.01222, allocations: 75.88 kB / 0.6292 GB, free: 1.902 MB / 0.5886 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.00109/0.01331, allocations: 1.249 MB / 0.6304 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.01357, allocations: 223.8 kB / 0.6306 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01357, allocations: 0 / 0.6306 GB, free: 0.625 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01369, allocations: 108.7 kB / 0.6307 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.01387, allocations: 41.84 kB / 0.6308 GB, free: 488 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.01576, allocations: 2.498 MB / 0.6332 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.941e-05/0.01585, allocations: 146.9 kB / 0.6334 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.01603, allocations: 146.8 kB / 0.6335 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.01613, allocations: 96.45 kB / 0.6336 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.01613, allocations: 0 / 0.6336 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.03413, allocations: 6.788 MB / 0.6402 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.475, allocations: 7.938 kB / 0.6402 GB, free: 6.816 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.196163213811815] Failed to read output from testmodel.py, exit status != 0: 7.611664951778948 7.619831899 7.612834524 Calling exit ...