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.009412/0.009412, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001933/0.001933, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8485/0.8485, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.69 kB / 0.5814 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002828/0.1552, allocations: 1.613 MB / 0.6613 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1569, allocations: 1.164 MB / 0.6624 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.1569, allocations: 0 / 0.6624 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1572, allocations: 27.84 kB / 0.6624 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1575, allocations: 67.62 kB / 0.6625 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1579, allocations: 137.7 kB / 0.6626 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.1581, allocations: 221.6 kB / 0.6628 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1583, allocations: 31.92 kB / 0.6629 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1584, allocations: 75.77 kB / 0.6629 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.1586, allocations: 87.77 kB / 0.663 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.1586, allocations: 16 kB / 0.663 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1588, allocations: 83.95 kB / 0.6631 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1589, allocations: 83.75 kB / 0.6632 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.159, allocations: 95.39 kB / 0.6633 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1593, allocations: 275.1 kB / 0.6636 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1594, allocations: 0 / 0.6636 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1594, allocations: 0 / 0.6636 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.1594, allocations: 4 kB / 0.6636 GB, free: 6.32 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.0007636/0.1601, allocations: 0.5267 MB / 0.6641 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1602, allocations: 8.031 kB / 0.6641 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.1603, allocations: 24.66 kB / 0.6641 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1605, allocations: 272.7 kB / 0.6644 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1606, allocations: 12.38 kB / 0.6644 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1606, allocations: 16.36 kB / 0.6644 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1609, allocations: 214.2 kB / 0.6646 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.161, allocations: 0 / 0.6646 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.161, allocations: 4 kB / 0.6646 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.161, allocations: 7.984 kB / 0.6646 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/0.1618, allocations: 0.7334 MB / 0.6653 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.1626, allocations: 0.5629 MB / 0.6659 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.1631, allocations: 303.6 kB / 0.6662 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1633, allocations: 105.4 kB / 0.6663 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.1634, allocations: 20.19 kB / 0.6663 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.1637, allocations: 172.9 kB / 0.6664 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.1637, allocations: 0 / 0.6664 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006337/0.1643, allocations: 369.1 kB / 0.6668 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1644, allocations: 136.5 kB / 0.6669 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1647, allocations: 304 kB / 0.6672 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1647, allocations: 37.64 kB / 0.6673 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1648, allocations: 120.7 kB / 0.6674 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.1649, allocations: 114.4 kB / 0.6675 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.165, allocations: 65.69 kB / 0.6675 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1651, allocations: 338.8 kB / 0.6679 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1652, allocations: 83.95 kB / 0.6679 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1654, allocations: 131.2 kB / 0.6681 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.1657, allocations: 209.3 kB / 0.6683 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1657, allocations: 0 / 0.6683 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004252/0.1662, allocations: 277.2 kB / 0.6685 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1662, allocations: 11.88 kB / 0.6685 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1662, allocations: 0 / 0.6685 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1662, allocations: 4 kB / 0.6685 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1665, allocations: 59.97 kB / 0.6686 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1665, allocations: 4 kB / 0.6686 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1666, allocations: 35.61 kB / 0.6686 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.1667, allocations: 12 kB / 0.6687 GB, free: 0.8203 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.0001607/0.1668, allocations: 162.6 kB / 0.6688 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.1669, allocations: 23.72 kB / 0.6688 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.1676, allocations: 384.4 kB / 0.6692 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1676, allocations: 4 kB / 0.6692 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1676, allocations: 0 / 0.6692 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1677, allocations: 0 / 0.6692 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.168, allocations: 337.2 kB / 0.6695 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.168, allocations: 4 kB / 0.6695 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1682, allocations: 55.91 kB / 0.6696 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1682, allocations: 0 / 0.6696 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.1682, allocations: 8 kB / 0.6696 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1682, allocations: 4 kB / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1682, allocations: 0 / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1687, allocations: 323.1 kB / 0.6699 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1688, allocations: 148.6 kB / 0.67 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1689, allocations: 8 kB / 0.67 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.169, allocations: 22.59 kB / 0.6701 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.1691, allocations: 23.97 kB / 0.6701 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.1691, allocations: 11.98 kB / 0.6701 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000188/0.1693, allocations: 233.6 kB / 0.6703 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1693, allocations: 0 / 0.6703 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002807/0.1696, allocations: 59.94 kB / 0.6704 GB, free: 14.95 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.0009699/0.1705, allocations: 408.2 kB / 0.6708 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.171, allocations: 223.8 kB / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.171, allocations: 0 / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.1712, allocations: 127.9 kB / 0.6711 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1715, allocations: 32.66 kB / 0.6711 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007844/0.1723, allocations: 0.4956 MB / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1726, allocations: 0.7613 MB / 0.6724 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.1729, allocations: 146.8 kB / 0.6725 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.173, allocations: 39.42 kB / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.173, allocations: 0 / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.007255/0.1803, allocations: 3.015 MB / 0.6755 GB, free: 9.867 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)