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.001632/0.001632, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001665/0.001665, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002434/0.002434, allocations: 279 kB / 312.7 MB, free: 2.828 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.207/1.207, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002777/0.002777, allocations: 105.9 kB / 0.7396 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1736, allocations: 95.39 MB / 0.8328 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003401/0.177, allocations: 1.936 MB / 0.8346 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1797, allocations: 1.854 MB / 0.8365 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.1798, allocations: 0 / 0.8365 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1801, allocations: 31.73 kB / 0.8365 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.1804, allocations: 125.4 kB / 0.8366 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1809, allocations: 174.2 kB / 0.8368 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1812, allocations: 289.4 kB / 0.837 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1813, allocations: 29.02 kB / 0.8371 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1815, allocations: 107.7 kB / 0.8372 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.1817, allocations: 111.7 kB / 0.8373 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.1817, allocations: 20 kB / 0.8373 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.182, allocations: 135.9 kB / 0.8374 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1821, allocations: 95.72 kB / 0.8375 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1822, allocations: 127.2 kB / 0.8376 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.1827, allocations: 374.5 kB / 0.838 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1827, allocations: 0 / 0.838 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1827, allocations: 0 / 0.838 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.1827, allocations: 0 / 0.838 GB, free: 3.242 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.0008051/0.1835, allocations: 0.5247 MB / 0.8385 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1835, allocations: 13.34 kB / 0.8385 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.1836, allocations: 46.73 kB / 0.8386 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1837, allocations: 40.7 kB / 0.8386 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.184, allocations: 221.1 kB / 0.8388 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1841, allocations: 16.38 kB / 0.8388 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.1841, allocations: 27.88 kB / 0.8389 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.1845, allocations: 240.8 kB / 0.8391 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1845, allocations: 0 / 0.8391 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1845, allocations: 4 kB / 0.8391 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1845, allocations: 7.984 kB / 0.8391 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.1855, allocations: 0.749 MB / 0.8398 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1865, allocations: 0.6166 MB / 0.8404 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.187, allocations: 293.9 kB / 0.8407 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1872, allocations: 101.4 kB / 0.8408 GB, free: 228 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.1872, allocations: 24.23 kB / 0.8408 GB, free: 204 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.1875, allocations: 181.3 kB / 0.841 GB, free: 12 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.1876, allocations: 0 / 0.841 GB, free: 12 kB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.0006811/0.1882, allocations: 379.2 kB / 0.8414 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.1883, allocations: 136.5 kB / 0.8415 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.1887, allocations: 321.1 kB / 0.8418 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1887, allocations: 37.7 kB / 0.8418 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1888, allocations: 132.7 kB / 0.842 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.1889, allocations: 119 kB / 0.8421 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.189, allocations: 65.69 kB / 0.8421 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1892, allocations: 338.8 kB / 0.8425 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.1893, allocations: 83.89 kB / 0.8425 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1895, allocations: 135.4 kB / 0.8427 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.1898, allocations: 209.2 kB / 0.8429 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1898, allocations: 4 kB / 0.8429 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004501/0.1903, allocations: 285.1 kB / 0.8432 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1903, allocations: 7.938 kB / 0.8432 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1903, allocations: 3.984 kB / 0.8432 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1903, allocations: 0 / 0.8432 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1905, allocations: 63.91 kB / 0.8432 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1905, allocations: 0 / 0.8432 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1907, allocations: 31.83 kB / 0.8433 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.1907, allocations: 8 kB / 0.8433 GB, free: 13.61 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.0001634/0.1909, allocations: 166.4 kB / 0.8434 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.1909, allocations: 35.75 kB / 0.8435 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.1916, allocations: 384.8 kB / 0.8438 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1916, allocations: 7.938 kB / 0.8438 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1916, allocations: 3.938 kB / 0.8438 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1916, allocations: 0 / 0.8438 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1919, allocations: 328.2 kB / 0.8441 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1919, allocations: 4 kB / 0.8442 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1921, allocations: 55.91 kB / 0.8442 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1921, allocations: 7.938 kB / 0.8442 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.1921, allocations: 11.98 kB / 0.8442 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1921, allocations: 0 / 0.8442 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1921, allocations: 4 kB / 0.8442 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.1926, allocations: 330.3 kB / 0.8445 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1928, allocations: 79.67 kB / 0.8446 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.1928, allocations: 7.938 kB / 0.8446 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.193, allocations: 19.98 kB / 0.8446 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.193, allocations: 35.88 kB / 0.8447 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1931, allocations: 12 kB / 0.8447 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002316/0.1933, allocations: 248.4 kB / 0.8449 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1933, allocations: 0 / 0.8449 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003061/0.1936, allocations: 79.86 kB / 0.845 GB, free: 11.75 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.002161/0.1958, allocations: 1.215 MB / 0.8462 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.1962, allocations: 224.1 kB / 0.8464 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1962, allocations: 4 kB / 0.8464 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.1963, allocations: 119.8 kB / 0.8465 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1966, allocations: 42.8 kB / 0.8466 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.1998, allocations: 2.573 MB / 0.8491 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.2002, allocations: 0.7704 MB / 0.8498 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000333/0.2005, allocations: 151 kB / 0.85 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2007, allocations: 99.33 kB / 0.8501 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.2007, allocations: 4 kB / 0.8501 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.2354, allocations: 6.825 MB / 0.8567 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.69, allocations: 11.17 kB / 0.8567 GB, free: 15.86 MB / 0.6075 GB " [Timeout remaining time 649] (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: 15.02801574300247] Failed to read output from testmodel.py, exit status != 0: 10.889019611000549 10.90408674 10.718567107 Calling exit ...