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.0009826/0.0009826, allocations: 99.03 kB / 16.02 MB, free: 76 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.001366/0.001366, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.319/1.319, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.926/0.926, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 9 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001805/0.1566, allocations: 1.324 MB / 0.5899 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.1581, allocations: 1.121 MB / 0.591 GB, free: 168 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.1582, allocations: 3.938 kB / 0.591 GB, free: 164 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.1584, allocations: 23.84 kB / 0.591 GB, free: 140 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1586, allocations: 59.83 kB / 0.5911 GB, free: 80 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1589, allocations: 122.4 kB / 0.5912 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1592, allocations: 205.6 kB / 0.5914 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1593, allocations: 16 kB / 0.5914 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.861e-05/0.1594, allocations: 63.83 kB / 0.5915 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1596, allocations: 87.7 kB / 0.5916 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.1596, allocations: 12 kB / 0.5916 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1597, allocations: 59.98 kB / 0.5916 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.1598, allocations: 83.73 kB / 0.5917 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.67e-05/0.1599, allocations: 113.1 kB / 0.5918 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.1601, allocations: 195.9 kB / 0.592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1602, allocations: 0 / 0.592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1602, allocations: 0 / 0.592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1602, allocations: 3.938 kB / 0.592 GB, free: 15.14 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.0006563/0.1608, allocations: 495.5 kB / 0.5925 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1609, allocations: 12.03 kB / 0.5925 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.1609, allocations: 24.66 kB / 0.5925 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1612, allocations: 263.7 kB / 0.5928 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1612, allocations: 8.375 kB / 0.5928 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1613, allocations: 24.34 kB / 0.5928 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1616, allocations: 205 kB / 0.593 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1616, allocations: 0 / 0.593 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1617, allocations: 12 kB / 0.593 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1617, allocations: 4 kB / 0.593 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.1625, allocations: 0.7372 MB / 0.5937 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.1633, allocations: 0.5552 MB / 0.5943 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.1638, allocations: 299.6 kB / 0.5946 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1639, allocations: 105.4 kB / 0.5947 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.164, allocations: 24.17 kB / 0.5947 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.1643, allocations: 172.9 kB / 0.5949 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.493e-06/0.1643, allocations: 0 / 0.5949 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006161/0.1649, allocations: 369.6 kB / 0.5952 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.165, allocations: 140.5 kB / 0.5953 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1653, allocations: 293.4 kB / 0.5956 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1653, allocations: 33.7 kB / 0.5956 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.1654, allocations: 124.7 kB / 0.5958 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.1655, allocations: 114.3 kB / 0.5959 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1655, allocations: 29.7 kB / 0.5959 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1657, allocations: 342.8 kB / 0.5962 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1658, allocations: 79.95 kB / 0.5963 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.166, allocations: 124.3 kB / 0.5964 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1663, allocations: 215.2 kB / 0.5966 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1663, allocations: 0 / 0.5966 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003946/0.1667, allocations: 277 kB / 0.5969 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1667, allocations: 4 kB / 0.5969 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1667, allocations: 3.938 kB / 0.5969 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1668, allocations: 4 kB / 0.5969 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.167, allocations: 63.95 kB / 0.597 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.167, allocations: 0 / 0.597 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1671, allocations: 31.78 kB / 0.597 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.1672, allocations: 15.92 kB / 0.597 GB, free: 9.734 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.0001432/0.1673, allocations: 161.8 kB / 0.5972 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.1674, allocations: 23.72 kB / 0.5972 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006409/0.168, allocations: 392.3 kB / 0.5976 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.168, allocations: 4 kB / 0.5976 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.168, allocations: 0 / 0.5976 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1681, allocations: 3.984 kB / 0.5976 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1684, allocations: 325.2 kB / 0.5979 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1684, allocations: 0 / 0.5979 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.1685, allocations: 63.91 kB / 0.5979 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1685, allocations: 0 / 0.5979 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.1686, allocations: 11.98 kB / 0.598 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1686, allocations: 0 / 0.598 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1686, allocations: 4 kB / 0.598 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.169, allocations: 323.1 kB / 0.5983 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1692, allocations: 152.6 kB / 0.5984 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1692, allocations: 4 kB / 0.5984 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1693, allocations: 17.86 kB / 0.5984 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1694, allocations: 27.91 kB / 0.5985 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1694, allocations: 15.98 kB / 0.5985 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001895/0.1696, allocations: 233.6 kB / 0.5987 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1696, allocations: 0 / 0.5987 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002713/0.1699, allocations: 55.94 kB / 0.5988 GB, free: 7.852 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.0008883/0.1708, allocations: 413.3 kB / 0.5991 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1712, allocations: 223.8 kB / 0.5994 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1712, allocations: 0 / 0.5994 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1714, allocations: 127.9 kB / 0.5995 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1716, allocations: 36.66 kB / 0.5995 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.1724, allocations: 0.607 MB / 0.6001 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1728, allocations: 0.7542 MB / 0.6008 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.1729, allocations: 51.41 kB / 0.6009 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1729, allocations: 0 / 0.6009 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.006132/0.179, allocations: 4.129 MB / 0.6049 GB, free: 1.629 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)