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.001405/0.001405, 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.00168/0.00168, allocations: 210.5 kB / 22.24 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.789 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.002686/0.002686, allocations: 291.1 kB / 312.7 MB, free: 2.602 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.264/1.264, allocations: 180.6 MB / 0.5369 GB, free: 14.6 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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [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.003059/0.003059, allocations: 99.12 kB / 0.74 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1721, allocations: 95.38 MB / 0.8331 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003711/0.1758, allocations: 1.896 MB / 0.835 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.1789, allocations: 1.777 MB / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.179, allocations: 0 / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1792, allocations: 27.78 kB / 0.8367 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.1797, allocations: 124.1 kB / 0.8369 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.1802, allocations: 171 kB / 0.837 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.1806, allocations: 305.2 kB / 0.8373 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1807, allocations: 21.23 kB / 0.8373 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1809, allocations: 95.83 kB / 0.8374 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1811, allocations: 103.6 kB / 0.8375 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.1812, allocations: 20 kB / 0.8376 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.1815, allocations: 127.9 kB / 0.8377 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.1816, allocations: 91.73 kB / 0.8378 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1817, allocations: 107.4 kB / 0.8379 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.1823, allocations: 374.5 kB / 0.8382 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1823, allocations: 0 / 0.8382 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1823, allocations: 0 / 0.8382 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1823, allocations: 4 kB / 0.8382 GB, free: 2.594 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.0009644/0.1833, allocations: 0.5169 MB / 0.8387 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1833, allocations: 12.75 kB / 0.8387 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.1835, allocations: 40.69 kB / 0.8388 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.1839, allocations: 221.1 kB / 0.839 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.1839, allocations: 12.38 kB / 0.839 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.184, allocations: 20.12 kB / 0.839 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.1845, allocations: 373.3 kB / 0.8394 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1845, allocations: 3.984 kB / 0.8394 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1846, allocations: 8 kB / 0.8394 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1846, allocations: 8 kB / 0.8394 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1856, allocations: 0.6982 MB / 0.8401 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1868, allocations: 0.543 MB / 0.8406 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.1873, allocations: 286.5 kB / 0.8409 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1875, allocations: 101.4 kB / 0.841 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.1875, allocations: 12.27 kB / 0.841 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.188, allocations: 232.8 kB / 0.8412 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 1.924e-06/0.188, allocations: 4 kB / 0.8412 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.0007919/0.1887, allocations: 394.9 kB / 0.8416 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.1888, allocations: 132.5 kB / 0.8417 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.1892, allocations: 321 kB / 0.842 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1892, allocations: 33.7 kB / 0.8421 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1894, allocations: 136.7 kB / 0.8422 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1895, allocations: 123 kB / 0.8423 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1896, allocations: 61.69 kB / 0.8424 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000237/0.1898, allocations: 342.8 kB / 0.8427 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.19, allocations: 79.95 kB / 0.8428 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.1902, allocations: 208.3 kB / 0.843 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.1906, allocations: 217.4 kB / 0.8432 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1906, allocations: 0 / 0.8432 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004934/0.1911, allocations: 285.2 kB / 0.8434 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1911, allocations: 5.875 kB / 0.8435 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1911, allocations: 0 / 0.8435 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1911, allocations: 3.938 kB / 0.8435 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.1914, allocations: 71.91 kB / 0.8435 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1914, allocations: 0 / 0.8435 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1916, allocations: 27.83 kB / 0.8436 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.1916, allocations: 16 kB / 0.8436 GB, free: 12.84 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.000179/0.1918, allocations: 166.4 kB / 0.8437 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.1918, allocations: 31.81 kB / 0.8438 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.1925, allocations: 380.9 kB / 0.8441 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1925, allocations: 3.938 kB / 0.8441 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1925, allocations: 7.938 kB / 0.8441 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1926, allocations: 3.984 kB / 0.8441 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.1929, allocations: 245 kB / 0.8444 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1929, allocations: 0 / 0.8444 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.193, allocations: 59.91 kB / 0.8444 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1931, allocations: 0 / 0.8444 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.1931, allocations: 8 kB / 0.8444 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1931, allocations: 0 / 0.8444 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1931, allocations: 7.938 kB / 0.8444 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.1936, allocations: 338.2 kB / 0.8448 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1938, allocations: 71.69 kB / 0.8448 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.1938, allocations: 12 kB / 0.8448 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.194, allocations: 23.97 kB / 0.8449 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.1941, allocations: 23.89 kB / 0.8449 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.1941, allocations: 23.92 kB / 0.8449 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002559/0.1944, allocations: 244.4 kB / 0.8451 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1944, allocations: 0 / 0.8451 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003445/0.1947, allocations: 83.88 kB / 0.8452 GB, free: 11.08 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.001751/0.1965, allocations: 488.9 kB / 0.8457 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004668/0.1969, allocations: 219.7 kB / 0.8459 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1969, allocations: 4 kB / 0.8459 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.1971, allocations: 128.7 kB / 0.846 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1975, allocations: 40.36 kB / 0.8461 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.1985, allocations: 0.5413 MB / 0.8466 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.1986, allocations: 156.2 kB / 0.8467 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.199, allocations: 154.8 kB / 0.8469 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1991, allocations: 47.41 kB / 0.8469 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.1991, allocations: 0 / 0.8469 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of Templates: time 0.009559/0.2087, allocations: 4.03 MB / 0.8509 GB, free: 5.512 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.37281789816916] Failed to read output from testmodel.py, exit status != 0: 0.21654584631323814 0.233391218 0.047856271000000006 Calling exit ...