Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001442/0.001442, allocations: 107.8 kB / 16.45 MB, free: 6.512 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.001707/0.001707, allocations: 212.2 kB / 19.43 MB, free: 3.648 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.34/1.34, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.002407/0.002407, allocations: 289.4 kB / 309.1 MB, free: 3.965 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.146/1.146, allocations: 180.9 MB / 0.5333 GB, free: 13.55 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.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.002684/0.002684, allocations: 106.6 kB / 0.7343 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.153, allocations: 95.34 MB / 0.8274 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003389/0.1564, allocations: 1.926 MB / 0.8292 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.159, allocations: 1.764 MB / 0.831 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.37e-05/0.1591, allocations: 0 / 0.831 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1593, allocations: 35.77 kB / 0.831 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.1597, allocations: 115.4 kB / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1602, allocations: 171.4 kB / 0.8313 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1605, allocations: 293.3 kB / 0.8316 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1606, allocations: 36.83 kB / 0.8316 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1608, allocations: 107.7 kB / 0.8317 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.161, allocations: 111.7 kB / 0.8318 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.161, allocations: 20 kB / 0.8318 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.1613, allocations: 135.9 kB / 0.8319 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1614, allocations: 91.73 kB / 0.832 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1616, allocations: 123.3 kB / 0.8322 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.1621, allocations: 374.5 kB / 0.8325 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1621, allocations: 0 / 0.8325 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.476e-06/0.1621, allocations: 4 kB / 0.8325 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1621, allocations: 4 kB / 0.8325 GB, free: 4.539 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009394/0.1631, allocations: 0.5845 MB / 0.8331 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1631, allocations: 8.031 kB / 0.8331 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.054e-05/0.1632, allocations: 58.66 kB / 0.8332 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.1634, allocations: 36.7 kB / 0.8332 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.1637, allocations: 278.9 kB / 0.8335 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1637, allocations: 12.38 kB / 0.8335 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1638, allocations: 19.94 kB / 0.8335 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.1642, allocations: 241.6 kB / 0.8337 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1642, allocations: 3.938 kB / 0.8337 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1643, allocations: 8 kB / 0.8337 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1643, allocations: 4 kB / 0.8337 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009392/0.1652, allocations: 0.7567 MB / 0.8345 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1663, allocations: 0.6449 MB / 0.8351 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.1668, allocations: 286.5 kB / 0.8354 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.167, allocations: 105.3 kB / 0.8355 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.623e-05/0.1671, allocations: 20.25 kB / 0.8355 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.1674, allocations: 181.2 kB / 0.8357 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.1675, allocations: 4 kB / 0.8357 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.0007334/0.1682, allocations: 385.5 kB / 0.836 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.1683, allocations: 132.5 kB / 0.8362 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1686, allocations: 321 kB / 0.8365 GB, free: 260 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1687, allocations: 33.69 kB / 0.8365 GB, free: 220 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1688, allocations: 132.7 kB / 0.8366 GB, free: 84 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.1689, allocations: 126.9 kB / 0.8367 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.169, allocations: 65.69 kB / 0.8368 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1691, allocations: 342.8 kB / 0.8371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1693, allocations: 79.95 kB / 0.8372 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1695, allocations: 127.2 kB / 0.8373 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1698, allocations: 218.3 kB / 0.8375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1699, allocations: 0 / 0.8375 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004825/0.1703, allocations: 281.3 kB / 0.8378 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1704, allocations: 11.94 kB / 0.8378 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1704, allocations: 4 kB / 0.8378 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1704, allocations: 0 / 0.8378 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1706, allocations: 59.91 kB / 0.8379 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1706, allocations: 7.984 kB / 0.8379 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.1708, allocations: 27.89 kB / 0.8379 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1708, allocations: 15.97 kB / 0.8379 GB, free: 14.71 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 (36): * Single equations (assignments): 36 * 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.0001839/0.171, allocations: 161.8 kB / 0.8381 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.1711, allocations: 35.75 kB / 0.8381 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007142/0.1718, allocations: 384.9 kB / 0.8385 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1718, allocations: 4 kB / 0.8385 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1718, allocations: 4 kB / 0.8385 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1718, allocations: 3.984 kB / 0.8385 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1722, allocations: 357.2 kB / 0.8388 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1722, allocations: 0 / 0.8388 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1724, allocations: 59.91 kB / 0.8389 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1724, allocations: 7.938 kB / 0.8389 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1724, allocations: 8 kB / 0.8389 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1724, allocations: 3.984 kB / 0.8389 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1724, allocations: 0 / 0.8389 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.173, allocations: 329.7 kB / 0.8392 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.1731, allocations: 148.8 kB / 0.8394 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.1732, allocations: 11.94 kB / 0.8394 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1734, allocations: 23.98 kB / 0.8394 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.1734, allocations: 23.95 kB / 0.8394 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.1734, allocations: 12 kB / 0.8394 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002559/0.1737, allocations: 248.4 kB / 0.8397 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1737, allocations: 3.938 kB / 0.8397 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003364/0.174, allocations: 87.86 kB / 0.8398 GB, free: 12.73 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 (35): * Single equations (assignments): 34 * 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.002233/0.1763, allocations: 1.224 MB / 0.841 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.1767, allocations: 215.7 kB / 0.8412 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1768, allocations: 0 / 0.8412 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.177, allocations: 123.8 kB / 0.8413 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1773, allocations: 37.84 kB / 0.8413 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.1806, allocations: 2.577 MB / 0.8438 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.181, allocations: 0.7619 MB / 0.8446 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.1814, allocations: 155 kB / 0.8447 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.1816, allocations: 99.39 kB / 0.8448 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.1816, allocations: 0 / 0.8448 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.2147, allocations: 6.583 MB / 0.8513 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.061, allocations: 10.08 kB / 0.8513 GB, free: 1.129 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_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_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.001375387888402] Failed to read output from testmodel.py, exit status != 0: 8.221815151162446 8.241711929 8.075021787 Calling exit ...