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.001125/0.001125, allocations: 112.5 kB / 15.73 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.00109/0.00109, allocations: 193.1 kB / 16.67 MB, free: 6.57 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 62.69 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1622, allocations: 80.19 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003333/0.1655, allocations: 1.613 MB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1674, allocations: 1.175 MB / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.1675, allocations: 0 / 0.6624 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1678, allocations: 15.86 kB / 0.6624 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1681, allocations: 67.62 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1685, allocations: 139.9 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.1688, allocations: 225.6 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1689, allocations: 23.98 kB / 0.6629 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1691, allocations: 75.81 kB / 0.6629 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1693, allocations: 91.72 kB / 0.663 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.1694, allocations: 16 kB / 0.663 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1696, allocations: 75.97 kB / 0.6631 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1697, allocations: 75.81 kB / 0.6632 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1698, allocations: 99.39 kB / 0.6633 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1702, allocations: 282.8 kB / 0.6635 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1702, allocations: 4 kB / 0.6635 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1703, allocations: 0 / 0.6635 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.1703, allocations: 0 / 0.6635 GB, free: 9.52 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.0008014/0.1711, allocations: 0.5379 MB / 0.6641 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1711, allocations: 8.031 kB / 0.6641 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.511e-05/0.1712, allocations: 32.69 kB / 0.6641 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1715, allocations: 263.8 kB / 0.6644 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1715, allocations: 12.38 kB / 0.6644 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1716, allocations: 16.38 kB / 0.6644 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1719, allocations: 213 kB / 0.6646 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1719, allocations: 0 / 0.6646 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.172, allocations: 7.984 kB / 0.6646 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.172, allocations: 4 kB / 0.6646 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.1728, allocations: 0.7372 MB / 0.6653 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.1736, allocations: 0.5591 MB / 0.6659 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.174, allocations: 303.6 kB / 0.6662 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1742, allocations: 105.4 kB / 0.6663 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/0.1743, allocations: 20.19 kB / 0.6663 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.1746, allocations: 173.5 kB / 0.6664 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.1746, allocations: 4 kB / 0.6665 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006183/0.1752, allocations: 365.8 kB / 0.6668 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1753, allocations: 132.5 kB / 0.6669 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1756, allocations: 305.2 kB / 0.6672 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1756, allocations: 41.64 kB / 0.6673 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.1757, allocations: 120.7 kB / 0.6674 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.1758, allocations: 119 kB / 0.6675 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.481e-05/0.1759, allocations: 65.69 kB / 0.6675 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.176, allocations: 338.8 kB / 0.6679 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.1761, allocations: 79.95 kB / 0.6679 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1763, allocations: 128.2 kB / 0.6681 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.1766, allocations: 215.1 kB / 0.6683 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1767, allocations: 0 / 0.6683 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004196/0.1771, allocations: 281.3 kB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1771, allocations: 7.938 kB / 0.6686 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1771, allocations: 0 / 0.6686 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1771, allocations: 11.94 kB / 0.6686 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.1773, allocations: 55.97 kB / 0.6686 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1774, allocations: 7.984 kB / 0.6686 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1775, allocations: 27.81 kB / 0.6687 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1775, allocations: 12 kB / 0.6687 GB, free: 4.008 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.0001375/0.1777, allocations: 166.4 kB / 0.6688 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.1777, allocations: 27.81 kB / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006335/0.1784, allocations: 380.5 kB / 0.6692 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1784, allocations: 4 kB / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1784, allocations: 4 kB / 0.6692 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1784, allocations: 0 / 0.6692 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.1787, allocations: 333.2 kB / 0.6695 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1787, allocations: 3.938 kB / 0.6695 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1789, allocations: 59.91 kB / 0.6696 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1789, allocations: 0 / 0.6696 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1789, allocations: 8 kB / 0.6696 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1789, allocations: 4 kB / 0.6696 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1789, allocations: 0 / 0.6696 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1794, allocations: 327.2 kB / 0.6699 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1795, allocations: 148.8 kB / 0.6701 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1795, allocations: 4 kB / 0.6701 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1797, allocations: 19.92 kB / 0.6701 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.1797, allocations: 19.97 kB / 0.6701 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.1797, allocations: 15.98 kB / 0.6701 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001844/0.1799, allocations: 233.6 kB / 0.6703 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1799, allocations: 0 / 0.6703 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1802, allocations: 59.89 kB / 0.6704 GB, free: 2.125 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.0008144/0.181, allocations: 417.7 kB / 0.6708 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.1814, allocations: 231.7 kB / 0.671 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1814, allocations: 0 / 0.671 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1816, allocations: 127.9 kB / 0.6711 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1819, allocations: 33.97 kB / 0.6712 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.1826, allocations: 0.4964 MB / 0.6717 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1829, allocations: 0.754 MB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.1832, allocations: 142.9 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.1832, allocations: 43.42 kB / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1833, allocations: 0 / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of Templates: time 0.006041/0.1893, allocations: 3.009 MB / 0.6755 GB, free: 13.04 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)