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.001433/0.001433, allocations: 78.95 kB / 19.76 MB, free: 1.898 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.001837/0.001837, allocations: 158 kB / 23.01 MB, free: 4.574 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 9.25 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.8398/0.8398, allocations: 101.3 MB / 361.1 MB, free: 10.07 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.002147/0.002147, allocations: 75.22 kB / 0.5357 GB, free: 5.504 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.1679/0.17, allocations: 85.87 MB / 0.6195 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004314/0.1743, allocations: 1.884 MB / 0.6214 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.1778, allocations: 1.769 MB / 0.6231 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1779, allocations: 0 / 0.6231 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1781, allocations: 35.78 kB / 0.6231 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.1787, allocations: 115.4 kB / 0.6232 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.1792, allocations: 177.4 kB / 0.6234 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.1796, allocations: 277.4 kB / 0.6237 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1798, allocations: 37.48 kB / 0.6237 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.18, allocations: 143.7 kB / 0.6238 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.1802, allocations: 95.69 kB / 0.6239 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.1803, allocations: 24 kB / 0.6239 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.1805, allocations: 127.9 kB / 0.6241 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1807, allocations: 91.73 kB / 0.6242 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1808, allocations: 99.45 kB / 0.6242 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.1814, allocations: 366.5 kB / 0.6246 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1814, allocations: 0 / 0.6246 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1814, allocations: 0 / 0.6246 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.1814, allocations: 0 / 0.6246 GB, free: 12.62 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.00114/0.1825, allocations: 0.513 MB / 0.6251 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.1826, allocations: 12.03 kB / 0.6251 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.1828, allocations: 36.75 kB / 0.6251 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.1833, allocations: 221.5 kB / 0.6254 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.1833, allocations: 16.38 kB / 0.6254 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.1833, allocations: 24.11 kB / 0.6254 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.184, allocations: 357.3 kB / 0.6257 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.184, allocations: 0 / 0.6257 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.184, allocations: 12 kB / 0.6257 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.184, allocations: 7.938 kB / 0.6258 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.185, allocations: 0.6904 MB / 0.6264 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.1863, allocations: 0.539 MB / 0.627 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.1868, allocations: 286.6 kB / 0.6272 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.187, allocations: 105.4 kB / 0.6273 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.187, allocations: 16.27 kB / 0.6273 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/0.1875, allocations: 235.9 kB / 0.6276 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.823e-06/0.1875, allocations: 0 / 0.6276 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.0007431/0.1882, allocations: 377.2 kB / 0.6279 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.1884, allocations: 140.3 kB / 0.6281 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.1887, allocations: 329.9 kB / 0.6284 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.1888, allocations: 29.7 kB / 0.6284 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1889, allocations: 136.7 kB / 0.6285 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.189, allocations: 123 kB / 0.6287 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1891, allocations: 65.69 kB / 0.6287 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.1893, allocations: 338.8 kB / 0.629 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1895, allocations: 79.95 kB / 0.6291 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.1897, allocations: 201.7 kB / 0.6293 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.1901, allocations: 221 kB / 0.6295 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1901, allocations: 4 kB / 0.6295 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004827/0.1906, allocations: 277.3 kB / 0.6298 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1906, allocations: 8 kB / 0.6298 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1906, allocations: 0 / 0.6298 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1906, allocations: 4 kB / 0.6298 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1909, allocations: 63.89 kB / 0.6299 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1909, allocations: 3.938 kB / 0.6299 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.191, allocations: 23.84 kB / 0.6299 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.1911, allocations: 19.98 kB / 0.6299 GB, free: 6.895 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.0001811/0.1913, allocations: 166.8 kB / 0.6301 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.1913, allocations: 27.81 kB / 0.6301 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.192, allocations: 388.9 kB / 0.6305 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1921, allocations: 7.938 kB / 0.6305 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1921, allocations: 3.938 kB / 0.6305 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1921, allocations: 7.984 kB / 0.6305 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.1924, allocations: 245.1 kB / 0.6307 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1924, allocations: 0 / 0.6307 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1926, allocations: 55.97 kB / 0.6308 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1926, allocations: 0 / 0.6308 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1926, allocations: 15.92 kB / 0.6308 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1926, allocations: 4 kB / 0.6308 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1926, allocations: 4 kB / 0.6308 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005297/0.1931, allocations: 326 kB / 0.6311 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1933, allocations: 75.67 kB / 0.6312 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.1933, allocations: 12 kB / 0.6312 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.1935, allocations: 26.59 kB / 0.6312 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.1936, allocations: 27.89 kB / 0.6312 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.1936, allocations: 15.98 kB / 0.6313 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002789/0.1939, allocations: 245.2 kB / 0.6315 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1939, allocations: 0 / 0.6315 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003371/0.1942, allocations: 83.86 kB / 0.6316 GB, free: 5.129 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.001725/0.1959, allocations: 495.8 kB / 0.632 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004636/0.1964, allocations: 220.1 kB / 0.6322 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1964, allocations: 0 / 0.6322 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1966, allocations: 127.7 kB / 0.6324 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1969, allocations: 38.83 kB / 0.6324 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.1979, allocations: 0.5406 MB / 0.6329 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.1981, allocations: 162.9 kB / 0.6331 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003529/0.1984, allocations: 146.9 kB / 0.6332 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.1985, allocations: 44.47 kB / 0.6333 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1985, allocations: 4 kB / 0.6333 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of Templates: time 0.009032/0.2075, allocations: 3.805 MB / 0.637 GB, free: 15.76 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6794906770810485] Failed to read output from testmodel.py, exit status != 0: 0.21572946710512042 0.231098454 0.046613551 Calling exit ...