Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 190.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9183/0.9183, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.22 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1767, allocations: 80.93 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003828/0.1806, allocations: 1.682 MB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1825, allocations: 1.132 MB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.1826, allocations: 0 / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1829, allocations: 23.86 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1832, allocations: 51.83 kB / 0.5867 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1836, allocations: 126.7 kB / 0.5868 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1839, allocations: 221.7 kB / 0.5871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.184, allocations: 23.98 kB / 0.5871 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.1841, allocations: 75.77 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1843, allocations: 93.95 kB / 0.5872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1843, allocations: 20 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1845, allocations: 67.97 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.1846, allocations: 91.73 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.217e-05/0.1847, allocations: 99.39 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.185, allocations: 267.4 kB / 0.5878 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.185, allocations: 4 kB / 0.5878 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.185, allocations: 4 kB / 0.5878 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.185, allocations: 0 / 0.5878 GB, free: 0.8906 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007447/0.1858, allocations: 0.515 MB / 0.5883 GB, free: 336 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1858, allocations: 12.03 kB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.1859, allocations: 24.66 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.1862, allocations: 263.8 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1862, allocations: 8.375 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1862, allocations: 20.38 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.1866, allocations: 208.9 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1866, allocations: 3.938 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1866, allocations: 12 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1867, allocations: 4 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.1876, allocations: 0.7372 MB / 0.5895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.1884, allocations: 0.5629 MB / 0.5901 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.1889, allocations: 295.6 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.189, allocations: 101.4 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.1891, allocations: 24.25 kB / 0.5905 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.1895, allocations: 176.9 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.1895, allocations: 4 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006919/0.1902, allocations: 361.7 kB / 0.591 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/0.1903, allocations: 140.4 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1906, allocations: 293.4 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.1906, allocations: 33.7 kB / 0.5914 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.1907, allocations: 124.7 kB / 0.5916 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.95e-05/0.1908, allocations: 114.4 kB / 0.5917 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.1909, allocations: 65.69 kB / 0.5917 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1911, allocations: 342.8 kB / 0.5921 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1912, allocations: 79.95 kB / 0.5921 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1914, allocations: 120.9 kB / 0.5922 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.1917, allocations: 222.5 kB / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1918, allocations: 3.938 kB / 0.5925 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004495/0.1922, allocations: 289.1 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1922, allocations: 4 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1922, allocations: 0 / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1923, allocations: 0 / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1925, allocations: 59.91 kB / 0.5928 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1925, allocations: 4 kB / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1927, allocations: 27.83 kB / 0.5928 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1927, allocations: 11.98 kB / 0.5928 GB, free: 11.41 MB / 0.4981 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 (35): * Single equations (assignments): 35 * 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.0001733/0.1929, allocations: 165.7 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.1929, allocations: 27.72 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.1936, allocations: 376.5 kB / 0.5934 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1936, allocations: 4 kB / 0.5934 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1936, allocations: 0 / 0.5934 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1937, allocations: 3.984 kB / 0.5934 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.194, allocations: 333.1 kB / 0.5937 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.194, allocations: 0 / 0.5937 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1941, allocations: 63.91 kB / 0.5938 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1942, allocations: 4 kB / 0.5938 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.1942, allocations: 11.98 kB / 0.5938 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1942, allocations: 0 / 0.5938 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1942, allocations: 0 / 0.5938 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.1947, allocations: 327 kB / 0.5941 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.1948, allocations: 140.6 kB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.1949, allocations: 8 kB / 0.5942 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.195, allocations: 15.98 kB / 0.5943 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1951, allocations: 31.95 kB / 0.5943 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.1951, allocations: 12 kB / 0.5943 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001997/0.1953, allocations: 233.6 kB / 0.5945 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1953, allocations: 0 / 0.5945 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002945/0.1956, allocations: 55.94 kB / 0.5946 GB, free: 9.535 MB / 0.4981 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 (34): * Single equations (assignments): 33 * 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.001004/0.1966, allocations: 408.2 kB / 0.595 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.1972, allocations: 303.7 kB / 0.5952 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1972, allocations: 0 / 0.5952 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1974, allocations: 127.9 kB / 0.5954 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.1978, allocations: 39.64 kB / 0.5954 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.1986, allocations: 0.5752 MB / 0.596 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1989, allocations: 0.7542 MB / 0.5967 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003125/0.1992, allocations: 146.8 kB / 0.5968 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.1993, allocations: 39.42 kB / 0.5969 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1993, allocations: 0 / 0.5969 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of Templates: time 0.006825/0.2062, allocations: 2.955 MB / 0.5998 GB, free: 4.332 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)