Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001566/0.001566, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001648/0.001648, allocations: 187 kB / 17.34 MB, free: 5.719 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8309/0.8309, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.73 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1832, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00344/0.1867, allocations: 1.612 MB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1887, allocations: 1.175 MB / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1889, allocations: 3.938 kB / 0.6631 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1892, allocations: 19.86 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003998/0.1896, allocations: 67.69 kB / 0.6632 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.1901, allocations: 129.3 kB / 0.6633 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.1904, allocations: 229.6 kB / 0.6635 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1905, allocations: 27.92 kB / 0.6635 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.1906, allocations: 67.89 kB / 0.6636 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1908, allocations: 95.7 kB / 0.6637 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.1909, allocations: 20 kB / 0.6637 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.1911, allocations: 83.89 kB / 0.6638 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.1912, allocations: 79.81 kB / 0.6639 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1913, allocations: 95.39 kB / 0.6639 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.1916, allocations: 275.1 kB / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1916, allocations: 4 kB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1917, allocations: 0 / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.1917, allocations: 0 / 0.6642 GB, free: 6.277 MB / 0.4981 GB 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.0007731/0.1924, allocations: 0.5267 MB / 0.6647 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1925, allocations: 8.031 kB / 0.6647 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.239e-05/0.1926, allocations: 24.66 kB / 0.6648 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.1929, allocations: 260.7 kB / 0.665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1929, allocations: 16.38 kB / 0.665 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1929, allocations: 12.38 kB / 0.665 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.1933, allocations: 222.1 kB / 0.6652 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1933, allocations: 0 / 0.6652 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1934, allocations: 4 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1934, allocations: 4 kB / 0.6653 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008183/0.1942, allocations: 0.7334 MB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.1951, allocations: 0.5707 MB / 0.6665 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.1955, allocations: 295.6 kB / 0.6668 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1957, allocations: 113.3 kB / 0.6669 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.1957, allocations: 16.25 kB / 0.6669 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.1961, allocations: 172.9 kB / 0.6671 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.1961, allocations: 4 kB / 0.6671 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006352/0.1967, allocations: 373.1 kB / 0.6675 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.1968, allocations: 136.5 kB / 0.6676 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1971, allocations: 304.1 kB / 0.6679 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1971, allocations: 29.7 kB / 0.6679 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1972, allocations: 124.7 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.1973, allocations: 114.4 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.1974, allocations: 65.69 kB / 0.6682 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1976, allocations: 342.8 kB / 0.6685 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1977, allocations: 79.95 kB / 0.6686 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1979, allocations: 127.2 kB / 0.6687 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.1983, allocations: 217.3 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1983, allocations: 0 / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004262/0.1987, allocations: 273.2 kB / 0.6692 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1987, allocations: 7.984 kB / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1988, allocations: 4 kB / 0.6692 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1988, allocations: 7.938 kB / 0.6692 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.199, allocations: 63.91 kB / 0.6693 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1991, allocations: 0 / 0.6693 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.1992, allocations: 27.73 kB / 0.6693 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1992, allocations: 12 kB / 0.6693 GB, free: 0.7812 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.0002023/0.1995, allocations: 162.6 kB / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.1995, allocations: 23.72 kB / 0.6695 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.2002, allocations: 384.5 kB / 0.6699 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.2003, allocations: 4 kB / 0.6699 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.2003, allocations: 7.938 kB / 0.6699 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2003, allocations: 0 / 0.6699 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.2007, allocations: 333.2 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2007, allocations: 0 / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.2008, allocations: 51.97 kB / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2009, allocations: 0 / 0.6702 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2009, allocations: 11.98 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2009, allocations: 7.938 kB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2009, allocations: 0 / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.2014, allocations: 327.1 kB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.2015, allocations: 148.6 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2016, allocations: 4 kB / 0.6707 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2017, allocations: 15.98 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.2018, allocations: 23.97 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.2018, allocations: 8 kB / 0.6708 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002011/0.202, allocations: 237.6 kB / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2021, allocations: 0 / 0.671 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003055/0.2024, allocations: 55.94 kB / 0.671 GB, free: 14.91 MB / 0.5137 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.001024/0.2034, allocations: 413.2 kB / 0.6714 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004355/0.2038, allocations: 223.8 kB / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2039, allocations: 0 / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2041, allocations: 131.8 kB / 0.6718 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2044, allocations: 34.53 kB / 0.6718 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.2053, allocations: 0.5222 MB / 0.6723 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.2058, allocations: 0.7535 MB / 0.673 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.2059, allocations: 51.41 kB / 0.6731 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of SimCode: time 6.12e-07/0.2059, allocations: 0 / 0.6731 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.007701/0.2136, allocations: 4.188 MB / 0.6772 GB, free: 8.746 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)