Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001251/0.001251, allocations: 107.3 kB / 16.45 MB, free: 6.5 MB / 14.72 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.0013/0.0013, allocations: 216.9 kB / 19.43 MB, free: 3.656 MB / 14.72 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.312/1.312, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002307/0.002307, allocations: 282.4 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.112/1.112, allocations: 180.9 MB / 0.5333 GB, free: 13.81 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002707/0.002707, allocations: 104.4 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1444, allocations: 95.33 MB / 0.8274 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002898/0.1473, allocations: 1.713 MB / 0.829 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1491, allocations: 1.312 MB / 0.8303 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1491, allocations: 4 kB / 0.8303 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.1493, allocations: 27.78 kB / 0.8303 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1497, allocations: 111.5 kB / 0.8305 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1501, allocations: 144.7 kB / 0.8306 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.1504, allocations: 269.4 kB / 0.8308 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.1505, allocations: 21.33 kB / 0.8309 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1506, allocations: 79.83 kB / 0.8309 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1508, allocations: 111.6 kB / 0.831 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.1508, allocations: 20 kB / 0.8311 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.151, allocations: 119.9 kB / 0.8312 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.611e-05/0.1511, allocations: 83.75 kB / 0.8313 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1512, allocations: 115.3 kB / 0.8314 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.1517, allocations: 338.7 kB / 0.8317 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1517, allocations: 3.938 kB / 0.8317 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.985e-06/0.1517, allocations: 8 kB / 0.8317 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1517, allocations: 0 / 0.8317 GB, free: 5.41 MB / 0.5762 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.0007844/0.1525, allocations: 0.5651 MB / 0.8323 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1525, allocations: 8.031 kB / 0.8323 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.88e-05/0.1526, allocations: 50.73 kB / 0.8323 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.1526, allocations: 28.75 kB / 0.8323 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1529, allocations: 274.9 kB / 0.8326 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1529, allocations: 8.375 kB / 0.8326 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.153, allocations: 16.38 kB / 0.8326 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.1533, allocations: 229 kB / 0.8328 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1533, allocations: 0 / 0.8328 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1534, allocations: 8 kB / 0.8329 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1534, allocations: 4 kB / 0.8329 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.1542, allocations: 0.7373 MB / 0.8336 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.1551, allocations: 0.5859 MB / 0.8341 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.1555, allocations: 213.8 kB / 0.8344 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1557, allocations: 88.81 kB / 0.8344 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.1557, allocations: 19.97 kB / 0.8345 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.1561, allocations: 181.4 kB / 0.8346 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.1561, allocations: 4 kB / 0.8346 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.0007113/0.1568, allocations: 362.7 kB / 0.835 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.1569, allocations: 140.5 kB / 0.8351 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.1572, allocations: 320.9 kB / 0.8354 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.1573, allocations: 33.7 kB / 0.8355 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.1574, allocations: 124.7 kB / 0.8356 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.1575, allocations: 111.1 kB / 0.8357 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-05/0.1576, allocations: 65.69 kB / 0.8357 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1577, allocations: 338.8 kB / 0.8361 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1578, allocations: 83.95 kB / 0.8361 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.158, allocations: 128.4 kB / 0.8363 GB, free: 484 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.1583, allocations: 209.2 kB / 0.8365 GB, free: 272 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1584, allocations: 0 / 0.8365 GB, free: 272 kB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00045/0.1588, allocations: 273.4 kB / 0.8367 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1588, allocations: 4 kB / 0.8367 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1588, allocations: 0 / 0.8367 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1588, allocations: 8 kB / 0.8367 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.159, allocations: 59.84 kB / 0.8368 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1591, allocations: 7.938 kB / 0.8368 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1592, allocations: 27.81 kB / 0.8368 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.1592, allocations: 12 kB / 0.8368 GB, free: 15.88 MB / 0.5919 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.0001535/0.1594, allocations: 158.3 kB / 0.837 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.1595, allocations: 35.78 kB / 0.837 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.1601, allocations: 377 kB / 0.8374 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1601, allocations: 7.984 kB / 0.8374 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1601, allocations: 3.938 kB / 0.8374 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1602, allocations: 4 kB / 0.8374 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1605, allocations: 333.3 kB / 0.8377 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1605, allocations: 0 / 0.8377 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1606, allocations: 51.97 kB / 0.8378 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1606, allocations: 4 kB / 0.8378 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1607, allocations: 15.92 kB / 0.8378 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1607, allocations: 3.938 kB / 0.8378 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1607, allocations: 7.938 kB / 0.8378 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1612, allocations: 317.9 kB / 0.8381 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.1613, allocations: 148.8 kB / 0.8382 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1613, allocations: 7.984 kB / 0.8382 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1615, allocations: 15.98 kB / 0.8383 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.1615, allocations: 23.91 kB / 0.8383 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.1616, allocations: 12 kB / 0.8383 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002204/0.1618, allocations: 244.4 kB / 0.8385 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1618, allocations: 0 / 0.8385 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003105/0.1621, allocations: 79.86 kB / 0.8386 GB, free: 13.96 MB / 0.5919 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.002122/0.1642, allocations: 1.214 MB / 0.8398 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1646, allocations: 219.7 kB / 0.84 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1646, allocations: 4 kB / 0.84 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1648, allocations: 111.9 kB / 0.8401 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.165, allocations: 39.7 kB / 0.8402 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.1679, allocations: 2.478 MB / 0.8426 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1682, allocations: 0.7691 MB / 0.8433 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003174/0.1685, allocations: 146.9 kB / 0.8435 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1687, allocations: 95.39 kB / 0.8436 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.1687, allocations: 0 / 0.8436 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.1997, allocations: 6.061 MB / 0.8495 GB, free: 3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.199, allocations: 4.906 kB / 0.8495 GB, free: 2.996 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.051003821659833] Failed to read output from testmodel.py, exit status != 0: 8.375081987585872 8.388055006 8.233835555 Calling exit ...