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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.00218, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9808/0.9808, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.22 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 80.94 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002944/0.1764, allocations: 1.609 MB / 0.586 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1781, allocations: 1.156 MB / 0.5871 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.1782, allocations: 0 / 0.5871 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.1784, allocations: 27.84 kB / 0.5871 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1787, allocations: 67.64 kB / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1791, allocations: 130.5 kB / 0.5873 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1794, allocations: 229.6 kB / 0.5875 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1795, allocations: 28 kB / 0.5875 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1796, allocations: 79.81 kB / 0.5876 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1799, allocations: 91.72 kB / 0.5877 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.1799, allocations: 16 kB / 0.5877 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1801, allocations: 71.97 kB / 0.5878 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1802, allocations: 79.81 kB / 0.5879 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1803, allocations: 103.4 kB / 0.588 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1807, allocations: 267.4 kB / 0.5882 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1807, allocations: 7.938 kB / 0.5882 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1807, allocations: 3.938 kB / 0.5882 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1807, allocations: 4 kB / 0.5882 GB, free: 0.5898 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.0008046/0.1815, allocations: 0.5228 MB / 0.5887 GB, free: 20 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1816, allocations: 11.97 kB / 0.5888 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.1817, allocations: 24.7 kB / 0.5888 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.182, allocations: 259.7 kB / 0.589 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.182, allocations: 12.38 kB / 0.589 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.182, allocations: 12.38 kB / 0.589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1824, allocations: 217 kB / 0.5893 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1824, allocations: 7.984 kB / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1824, allocations: 7.938 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1824, allocations: 4 kB / 0.5893 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.1832, allocations: 0.7295 MB / 0.59 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.184, allocations: 0.559 MB / 0.5905 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1845, allocations: 304.9 kB / 0.5908 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1846, allocations: 105.4 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1847, allocations: 16.25 kB / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.185, allocations: 176.9 kB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.185, allocations: 4 kB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006536/0.1857, allocations: 369.6 kB / 0.5915 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.1858, allocations: 132.5 kB / 0.5916 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.186, allocations: 297.4 kB / 0.5919 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.1861, allocations: 33.7 kB / 0.5919 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.1862, allocations: 124.7 kB / 0.592 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.1863, allocations: 114.4 kB / 0.5921 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.1864, allocations: 57.69 kB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1865, allocations: 346.8 kB / 0.5925 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1866, allocations: 79.95 kB / 0.5926 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.1868, allocations: 124.8 kB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1871, allocations: 218.5 kB / 0.5929 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1871, allocations: 0 / 0.5929 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004127/0.1875, allocations: 285 kB / 0.5932 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1876, allocations: 4 kB / 0.5932 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1876, allocations: 4 kB / 0.5932 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1876, allocations: 4 kB / 0.5932 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1878, allocations: 63.91 kB / 0.5933 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1878, allocations: 4 kB / 0.5933 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.188, allocations: 23.83 kB / 0.5933 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.188, allocations: 11.94 kB / 0.5933 GB, free: 11.11 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.0001586/0.1882, allocations: 169.7 kB / 0.5935 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.1882, allocations: 23.72 kB / 0.5935 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.1889, allocations: 376.5 kB / 0.5939 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1889, allocations: 7.938 kB / 0.5939 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1889, allocations: 0 / 0.5939 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1889, allocations: 0 / 0.5939 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1892, allocations: 333.1 kB / 0.5942 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1892, allocations: 0 / 0.5942 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.1894, allocations: 63.91 kB / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1894, allocations: 0 / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1895, allocations: 8 kB / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1895, allocations: 4 kB / 0.5942 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1895, allocations: 4 kB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.1899, allocations: 327 kB / 0.5946 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.19, allocations: 140.6 kB / 0.5947 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1901, allocations: 12 kB / 0.5947 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1902, allocations: 15.98 kB / 0.5947 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1903, allocations: 19.97 kB / 0.5947 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1903, allocations: 23.98 kB / 0.5948 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000185/0.1905, allocations: 229.6 kB / 0.595 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1905, allocations: 0 / 0.595 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002834/0.1908, allocations: 55.94 kB / 0.595 GB, free: 9.234 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.000881/0.1917, allocations: 412.7 kB / 0.5954 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.1922, allocations: 295.7 kB / 0.5957 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1922, allocations: 4 kB / 0.5957 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.1924, allocations: 131.9 kB / 0.5958 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1927, allocations: 28.66 kB / 0.5959 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.1934, allocations: 0.501 MB / 0.5964 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1937, allocations: 0.7501 MB / 0.5971 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.194, allocations: 142.9 kB / 0.5972 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.1941, allocations: 43.41 kB / 0.5973 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1941, allocations: 0 / 0.5973 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.006075/0.2002, allocations: 2.966 MB / 0.6002 GB, free: 4.094 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)