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.001799/0.001799, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00223/0.00223, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.42/1.42, allocations: 230.6 MB / 256 MB, free: 7.785 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.002601/0.002601, allocations: 281.8 kB / 312.7 MB, free: 2.598 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.201/1.201, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.002906/0.002906, allocations: 103.2 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1757, allocations: 95.38 MB / 0.8327 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003651/0.1794, allocations: 1.882 MB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1822, allocations: 1.784 MB / 0.8362 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.1823, allocations: 4 kB / 0.8362 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1825, allocations: 31.78 kB / 0.8363 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.183, allocations: 119.4 kB / 0.8364 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.1834, allocations: 177.1 kB / 0.8366 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.1838, allocations: 297.3 kB / 0.8368 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1839, allocations: 33.02 kB / 0.8369 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1841, allocations: 95.77 kB / 0.837 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1843, allocations: 103.6 kB / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.1844, allocations: 20 kB / 0.8371 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1846, allocations: 123.9 kB / 0.8372 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1848, allocations: 91.73 kB / 0.8373 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1849, allocations: 111.4 kB / 0.8374 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.1854, allocations: 374.5 kB / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1854, allocations: 0 / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1855, allocations: 0 / 0.8377 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.1855, allocations: 0 / 0.8377 GB, free: 3.035 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.0008636/0.1863, allocations: 0.517 MB / 0.8383 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.1864, allocations: 9.938 kB / 0.8383 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.233e-05/0.1864, allocations: 54.72 kB / 0.8383 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1866, allocations: 40.7 kB / 0.8384 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1869, allocations: 225 kB / 0.8386 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1869, allocations: 12.38 kB / 0.8386 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.187, allocations: 27.88 kB / 0.8386 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004909/0.1875, allocations: 369.4 kB / 0.839 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1875, allocations: 0 / 0.839 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1875, allocations: 11.94 kB / 0.839 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1875, allocations: 4 kB / 0.839 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009385/0.1884, allocations: 0.6943 MB / 0.8397 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.1896, allocations: 0.5738 MB / 0.8402 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.1901, allocations: 294.5 kB / 0.8405 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.1903, allocations: 101.4 kB / 0.8406 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.1904, allocations: 16.2 kB / 0.8406 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.1908, allocations: 227.6 kB / 0.8408 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.1908, allocations: 0 / 0.8408 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.0008134/0.1916, allocations: 387.6 kB / 0.8412 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.1917, allocations: 132.5 kB / 0.8413 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.1921, allocations: 321.1 kB / 0.8416 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.1922, allocations: 33.7 kB / 0.8417 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1923, allocations: 136.7 kB / 0.8418 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1924, allocations: 126.9 kB / 0.8419 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.733e-05/0.1925, allocations: 65.69 kB / 0.842 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.1927, allocations: 338.8 kB / 0.8423 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1928, allocations: 79.95 kB / 0.8424 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.1931, allocations: 216.5 kB / 0.8426 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.1934, allocations: 213.2 kB / 0.8428 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1934, allocations: 0 / 0.8428 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004665/0.1939, allocations: 289.1 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1939, allocations: 7.938 kB / 0.8431 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1939, allocations: 0 / 0.8431 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1939, allocations: 8 kB / 0.8431 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.1942, allocations: 59.91 kB / 0.8431 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1942, allocations: 3.984 kB / 0.8431 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1943, allocations: 27.84 kB / 0.8432 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.1944, allocations: 15.98 kB / 0.8432 GB, free: 13.18 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.0001761/0.1945, allocations: 162.4 kB / 0.8433 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.1946, allocations: 31.75 kB / 0.8434 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.1953, allocations: 380.9 kB / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1953, allocations: 4 kB / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1953, allocations: 0 / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1953, allocations: 3.984 kB / 0.8437 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.1957, allocations: 284.5 kB / 0.844 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1957, allocations: 15.88 kB / 0.844 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.1959, allocations: 55.91 kB / 0.8441 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.1959, allocations: 3.938 kB / 0.8441 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1959, allocations: 15.98 kB / 0.8441 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1959, allocations: 0 / 0.8441 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1959, allocations: 0 / 0.8441 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.1965, allocations: 334.3 kB / 0.8444 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.1966, allocations: 83.67 kB / 0.8445 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1967, allocations: 7.938 kB / 0.8445 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.1968, allocations: 19.98 kB / 0.8445 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.1969, allocations: 35.94 kB / 0.8445 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.1969, allocations: 8 kB / 0.8446 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002506/0.1972, allocations: 248.4 kB / 0.8448 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1972, allocations: 0 / 0.8448 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003426/0.1975, allocations: 79.86 kB / 0.8449 GB, free: 11.36 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.002409/0.1999, allocations: 1.243 MB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.2004, allocations: 232.1 kB / 0.8463 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2004, allocations: 0 / 0.8463 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2006, allocations: 115.9 kB / 0.8464 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.2009, allocations: 40.42 kB / 0.8465 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.2044, allocations: 2.585 MB / 0.849 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2046, allocations: 155.4 kB / 0.8491 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003549/0.2049, allocations: 155 kB / 0.8493 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.2051, allocations: 99.39 kB / 0.8494 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of SimCode: time 7.22e-07/0.2051, allocations: 0 / 0.8494 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.245, allocations: 7.206 MB / 0.8564 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.73, allocations: 25.16 kB / 0.8564 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 648] (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: 16.030645346734673] Failed to read output from testmodel.py, exit status != 0: 11.936995272058994 11.954382896 11.765649016 Calling exit ...