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.0008024/0.0008024, 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.000827/0.000827, 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.8868/0.8868, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.6936/0.6936, allocations: 154.6 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.25e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002189/0.002211, allocations: 1.684 MB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.003698, allocations: 1.375 MB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.003763, allocations: 0 / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.003981, allocations: 31.78 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.004324, allocations: 115.3 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.004609, allocations: 150.2 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.004858, allocations: 261.4 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004959, allocations: 17.56 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.005071, allocations: 123.8 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.005225, allocations: 83.83 kB / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.005249, allocations: 16 kB / 0.6218 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.005396, allocations: 119.8 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.005478, allocations: 91.72 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.448e-05/0.005542, allocations: 75.75 kB / 0.6221 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.005864, allocations: 354.8 kB / 0.6224 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005867, allocations: 0 / 0.6224 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005868, allocations: 4 kB / 0.6224 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.005873, allocations: 0 / 0.6224 GB, free: 9.207 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.0006354/0.006509, allocations: 0.4897 MB / 0.6229 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.006555, allocations: 13.47 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.0066, allocations: 50.73 kB / 0.623 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.006656, allocations: 28.75 kB / 0.623 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.00688, allocations: 212.8 kB / 0.6232 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.006898, allocations: 12.38 kB / 0.6232 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.006918, allocations: 16.38 kB / 0.6232 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.007219, allocations: 326.2 kB / 0.6235 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.007228, allocations: 192 / 0.6235 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.007246, allocations: 11.94 kB / 0.6236 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.007253, allocations: 4 kB / 0.6236 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.007826, allocations: 0.6865 MB / 0.6242 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.00851, allocations: 0.5151 MB / 0.6247 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.008751, allocations: 203.9 kB / 0.6249 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.008848, allocations: 92.81 kB / 0.625 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.008879, allocations: 15.98 kB / 0.625 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.009131, allocations: 203.2 kB / 0.6252 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.009133, allocations: 0 / 0.6252 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33): time 0.0004789/0.009612, allocations: 368.6 kB / 0.6256 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.009679, allocations: 140.5 kB / 0.6257 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.009916, allocations: 317.7 kB / 0.626 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.009939, allocations: 29.7 kB / 0.626 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.01002, allocations: 128.7 kB / 0.6262 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.01009, allocations: 115 kB / 0.6263 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.01016, allocations: 65.69 kB / 0.6263 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01027, allocations: 338.8 kB / 0.6267 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.01038, allocations: 79.95 kB / 0.6267 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.01055, allocations: 200.7 kB / 0.6269 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.01078, allocations: 212.7 kB / 0.6271 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01078, allocations: 0 / 0.6271 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000292/0.01107, allocations: 281.8 kB / 0.6274 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01109, allocations: 4 kB / 0.6274 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01109, allocations: 4 kB / 0.6274 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.0111, allocations: 0 / 0.6274 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.01125, allocations: 59.91 kB / 0.6275 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01125, allocations: 7.984 kB / 0.6275 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.01142, allocations: 19.89 kB / 0.6275 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.01143, allocations: 16.03 kB / 0.6275 GB, free: 3.73 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.0001234/0.01156, allocations: 166.7 kB / 0.6277 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.01159, allocations: 31.81 kB / 0.6277 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.01199, allocations: 376.7 kB / 0.6281 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.012, allocations: 4 kB / 0.6281 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.012, allocations: 4 kB / 0.6281 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01201, allocations: 3.984 kB / 0.6281 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01219, allocations: 276.4 kB / 0.6283 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01219, allocations: 0 / 0.6283 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.01228, allocations: 55.91 kB / 0.6284 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01229, allocations: 0 / 0.6284 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.0123, allocations: 15.98 kB / 0.6284 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.0123, allocations: 4 kB / 0.6284 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0123, allocations: 0 / 0.6284 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.01258, allocations: 318.2 kB / 0.6287 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.01266, allocations: 79.67 kB / 0.6288 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.01268, allocations: 4 kB / 0.6288 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.01275, allocations: 15.98 kB / 0.6288 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.0128, allocations: 27.95 kB / 0.6288 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01281, allocations: 8 kB / 0.6288 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001671/0.01298, allocations: 245.2 kB / 0.6291 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01298, allocations: 3.938 kB / 0.6291 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002472/0.01323, allocations: 79.86 kB / 0.6292 GB, free: 1.977 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.001234/0.01446, allocations: 1.238 MB / 0.6304 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.01475, allocations: 212.3 kB / 0.6306 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01475, allocations: 4 kB / 0.6306 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01488, allocations: 124.3 kB / 0.6307 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.01508, allocations: 32.48 kB / 0.6307 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.0172, allocations: 2.495 MB / 0.6332 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.164e-05/0.01729, allocations: 146.9 kB / 0.6333 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.01748, allocations: 146.9 kB / 0.6334 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.01757, allocations: 92.45 kB / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.01757, allocations: 0 / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.04444, allocations: 6.806 MB / 0.6402 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.379, allocations: 8.812 kB / 0.6402 GB, free: 6.91 MB / 0.6042 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.113492804579437] Failed to read output from testmodel.py, exit status != 0: 7.519725391641259 7.538705975 7.529544572 Calling exit ...