Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00176/0.00176, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001534/0.001534, allocations: 156.1 kB / 23.01 MB, free: 4.949 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8456/0.8456, allocations: 101.3 MB / 361.1 MB, free: 9.527 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: IDEAS 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.002162/0.002162, allocations: 63.25 kB / 0.5356 GB, free: 5.242 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1705, allocations: 85.89 MB / 0.6195 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003312/0.1738, allocations: 1.88 MB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1765, allocations: 1.773 MB / 0.6231 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.1766, allocations: 3.938 kB / 0.6231 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.1768, allocations: 31.78 kB / 0.6231 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.1772, allocations: 123.4 kB / 0.6232 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.1777, allocations: 171.1 kB / 0.6234 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.178, allocations: 289.4 kB / 0.6237 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1782, allocations: 17.62 kB / 0.6237 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1783, allocations: 107.7 kB / 0.6238 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.1785, allocations: 95.64 kB / 0.6239 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.1785, allocations: 20 kB / 0.6239 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1788, allocations: 127.9 kB / 0.624 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1789, allocations: 87.8 kB / 0.6241 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.179, allocations: 107.4 kB / 0.6242 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.1795, allocations: 370.5 kB / 0.6246 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1795, allocations: 4 kB / 0.6246 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1795, allocations: 0 / 0.6246 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.1795, allocations: 0 / 0.6246 GB, free: 12.38 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000882/0.1804, allocations: 0.5092 MB / 0.6251 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1804, allocations: 8.031 kB / 0.6251 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1806, allocations: 32.75 kB / 0.6251 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1809, allocations: 229.4 kB / 0.6253 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1809, allocations: 12.38 kB / 0.6253 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.181, allocations: 24.12 kB / 0.6254 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.1815, allocations: 361.3 kB / 0.6257 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1815, allocations: 0 / 0.6257 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.1815, allocations: 8 kB / 0.6257 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1815, allocations: 4 kB / 0.6257 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009619/0.1825, allocations: 0.6982 MB / 0.6264 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1835, allocations: 0.5273 MB / 0.6269 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.1841, allocations: 294.6 kB / 0.6272 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1843, allocations: 97.38 kB / 0.6273 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.1843, allocations: 12.27 kB / 0.6273 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.1847, allocations: 247.9 kB / 0.6275 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.1847, allocations: 0 / 0.6275 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0007284/0.1854, allocations: 373.2 kB / 0.6279 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.1855, allocations: 140.3 kB / 0.628 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.1859, allocations: 321.9 kB / 0.6283 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.1859, allocations: 33.7 kB / 0.6284 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.186, allocations: 136.7 kB / 0.6285 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1861, allocations: 123 kB / 0.6286 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1862, allocations: 65.69 kB / 0.6287 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1864, allocations: 342.8 kB / 0.629 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1865, allocations: 79.95 kB / 0.6291 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/0.1868, allocations: 201.7 kB / 0.6293 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1871, allocations: 217.1 kB / 0.6295 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1871, allocations: 0 / 0.6295 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004897/0.1876, allocations: 281.3 kB / 0.6297 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1876, allocations: 4 kB / 0.6297 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1877, allocations: 4 kB / 0.6297 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1877, allocations: 0 / 0.6297 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1879, allocations: 63.91 kB / 0.6298 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.1879, allocations: 3.938 kB / 0.6298 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1881, allocations: 43.7 kB / 0.6299 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.1881, allocations: 11.98 kB / 0.6299 GB, free: 6.66 MB / 0.5294 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.0001859/0.1883, allocations: 162.8 kB / 0.63 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.1884, allocations: 27.81 kB / 0.63 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.1891, allocations: 392.9 kB / 0.6304 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1891, allocations: 4 kB / 0.6304 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1891, allocations: 3.938 kB / 0.6304 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1891, allocations: 8.016 kB / 0.6304 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.1894, allocations: 241.1 kB / 0.6307 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1894, allocations: 0 / 0.6307 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.1896, allocations: 63.91 kB / 0.6307 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1896, allocations: 0 / 0.6307 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1896, allocations: 12 kB / 0.6307 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1896, allocations: 4 kB / 0.6307 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1896, allocations: 0 / 0.6307 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.1902, allocations: 333.9 kB / 0.6311 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1903, allocations: 67.69 kB / 0.6311 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.1904, allocations: 8 kB / 0.6311 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.1906, allocations: 30.58 kB / 0.6312 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.1906, allocations: 35.89 kB / 0.6312 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.1907, allocations: 11.98 kB / 0.6312 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000257/0.1909, allocations: 249.2 kB / 0.6314 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1909, allocations: 0 / 0.6314 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003368/0.1913, allocations: 75.88 kB / 0.6315 GB, free: 4.902 MB / 0.5294 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.001688/0.1929, allocations: 0.4887 MB / 0.632 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.1934, allocations: 220.1 kB / 0.6322 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1934, allocations: 0 / 0.6322 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.1936, allocations: 131.7 kB / 0.6323 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1939, allocations: 36.48 kB / 0.6324 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.1948, allocations: 0.5406 MB / 0.6329 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.1949, allocations: 151 kB / 0.633 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003519/0.1953, allocations: 154.8 kB / 0.6332 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.1954, allocations: 48.47 kB / 0.6332 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1954, allocations: 0 / 0.6332 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of Templates: time 0.008807/0.2042, allocations: 3.817 MB / 0.637 GB, free: 15.52 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.634133265004493] Failed to read output from testmodel.py, exit status != 0: 0.21304063498973846 0.22953379099999996 0.046880993 Calling exit ...