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.001455/0.001455, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001769/0.001769, allocations: 213.5 kB / 23.01 MB, free: 4.566 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.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.8551/0.8551, allocations: 134 MB / 447.2 MB, free: 10.3 MB / 350.1 MB " [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.002264/0.002264, allocations: 66.47 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1789, allocations: 85.89 MB / 0.7037 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003697/0.1825, allocations: 1.938 MB / 0.7056 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1857, allocations: 1.839 MB / 0.7074 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1858, allocations: 4 kB / 0.7074 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.186, allocations: 35.78 kB / 0.7074 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.1865, allocations: 115.4 kB / 0.7075 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.1871, allocations: 177.4 kB / 0.7077 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.1875, allocations: 293.3 kB / 0.708 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1877, allocations: 21.64 kB / 0.708 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1878, allocations: 95.75 kB / 0.7081 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1881, allocations: 115.7 kB / 0.7082 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.1882, allocations: 24 kB / 0.7082 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.1885, allocations: 139.9 kB / 0.7083 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1886, allocations: 87.75 kB / 0.7084 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.1888, allocations: 127.2 kB / 0.7085 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005737/0.1893, allocations: 366.5 kB / 0.7089 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1893, allocations: 0 / 0.7089 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1893, allocations: 0 / 0.7089 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.1894, allocations: 0 / 0.7089 GB, free: 11.55 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.0009498/0.1903, allocations: 0.5153 MB / 0.7094 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1903, allocations: 12.03 kB / 0.7094 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.1905, allocations: 36.75 kB / 0.7094 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1909, allocations: 221 kB / 0.7097 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.1909, allocations: 16.38 kB / 0.7097 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.191, allocations: 20.11 kB / 0.7097 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.1914, allocations: 232.7 kB / 0.7099 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1914, allocations: 0 / 0.7099 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1914, allocations: 8 kB / 0.7099 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1914, allocations: 4 kB / 0.7099 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.1924, allocations: 0.7451 MB / 0.7106 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1935, allocations: 0.6087 MB / 0.7112 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.1941, allocations: 286 kB / 0.7115 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1942, allocations: 105.4 kB / 0.7116 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.1943, allocations: 20.19 kB / 0.7116 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003906/0.1947, allocations: 184.5 kB / 0.7118 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.1947, allocations: 0 / 0.7118 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.000717/0.1954, allocations: 377.2 kB / 0.7122 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1955, allocations: 140.4 kB / 0.7123 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.1959, allocations: 321.1 kB / 0.7126 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1959, allocations: 37.7 kB / 0.7126 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.196, allocations: 136.6 kB / 0.7128 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1961, allocations: 119 kB / 0.7129 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.1962, allocations: 65.69 kB / 0.713 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1964, allocations: 338.8 kB / 0.7133 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1965, allocations: 79.95 kB / 0.7134 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.1967, allocations: 132.6 kB / 0.7135 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.1971, allocations: 217 kB / 0.7137 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1971, allocations: 7.938 kB / 0.7137 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004702/0.1975, allocations: 273.3 kB / 0.714 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1976, allocations: 4 kB / 0.714 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1976, allocations: 3.938 kB / 0.714 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1976, allocations: 7.938 kB / 0.714 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.1978, allocations: 55.97 kB / 0.714 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1978, allocations: 3.984 kB / 0.714 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.198, allocations: 43.72 kB / 0.7141 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.198, allocations: 15.98 kB / 0.7141 GB, free: 6 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.0001744/0.1982, allocations: 157.8 kB / 0.7142 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1982, allocations: 27.81 kB / 0.7143 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.199, allocations: 388.8 kB / 0.7146 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.199, allocations: 7.938 kB / 0.7146 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.199, allocations: 4 kB / 0.7146 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.199, allocations: 3.984 kB / 0.7146 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.1993, allocations: 320.4 kB / 0.7149 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1993, allocations: 0 / 0.7149 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1995, allocations: 59.91 kB / 0.715 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1995, allocations: 4 kB / 0.715 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.1995, allocations: 8 kB / 0.715 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1995, allocations: 3.938 kB / 0.715 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1995, allocations: 0 / 0.715 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.2001, allocations: 326 kB / 0.7153 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.2002, allocations: 75.67 kB / 0.7154 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.2002, allocations: 7.984 kB / 0.7154 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.2004, allocations: 35.91 kB / 0.7154 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.2005, allocations: 23.95 kB / 0.7155 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.2005, allocations: 15.98 kB / 0.7155 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002409/0.2008, allocations: 248.4 kB / 0.7157 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2008, allocations: 0 / 0.7157 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003401/0.2011, allocations: 79.86 kB / 0.7158 GB, free: 4.16 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.001586/0.2027, allocations: 455.6 kB / 0.7162 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.2031, allocations: 228.1 kB / 0.7165 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2031, allocations: 0 / 0.7165 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.2034, allocations: 127.7 kB / 0.7166 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2037, allocations: 47.08 kB / 0.7166 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.2047, allocations: 0.5736 MB / 0.7172 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.2051, allocations: 0.7653 MB / 0.7179 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.2052, allocations: 55.41 kB / 0.718 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.2052, allocations: 0 / 0.718 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.009294/0.2145, allocations: 4.873 MB / 0.7227 GB, free: 13.21 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.672076598042622] Failed to read output from testmodel.py, exit status != 0: 0.2228075279854238 0.23856749699999996 0.046060052000000004 Calling exit ...