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.00128/0.00128, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.00187/0.00187, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.61 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 80.21 MB / 0.6604 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002886/0.1485, allocations: 1.613 MB / 0.6619 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1501, allocations: 1.156 MB / 0.6631 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.1502, allocations: 4 kB / 0.6631 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1505, allocations: 27.83 kB / 0.6631 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1508, allocations: 67.62 kB / 0.6632 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1512, allocations: 125.8 kB / 0.6633 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1515, allocations: 233.6 kB / 0.6635 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1516, allocations: 23.92 kB / 0.6635 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1517, allocations: 75.83 kB / 0.6636 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1519, allocations: 95.7 kB / 0.6637 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.1519, allocations: 16 kB / 0.6637 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.1521, allocations: 79.97 kB / 0.6638 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.1522, allocations: 75.8 kB / 0.6638 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1523, allocations: 103.4 kB / 0.6639 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.1526, allocations: 275 kB / 0.6642 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1526, allocations: 8 kB / 0.6642 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1526, allocations: 0 / 0.6642 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1526, allocations: 0 / 0.6642 GB, free: 6.406 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.0007429/0.1534, allocations: 0.5228 MB / 0.6647 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1534, allocations: 8.031 kB / 0.6647 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.1535, allocations: 28.64 kB / 0.6648 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.1538, allocations: 264.7 kB / 0.665 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1538, allocations: 12.38 kB / 0.665 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.1539, allocations: 16.38 kB / 0.665 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.1542, allocations: 214.2 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1542, allocations: 0 / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.1543, allocations: 8 kB / 0.6652 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1543, allocations: 4 kB / 0.6653 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.1552, allocations: 0.7411 MB / 0.666 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.156, allocations: 0.5629 MB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.1565, allocations: 299.6 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1567, allocations: 101.4 kB / 0.6669 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/0.1567, allocations: 20.25 kB / 0.6669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.1571, allocations: 176.8 kB / 0.6671 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.1571, allocations: 4 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0006669/0.1578, allocations: 365.2 kB / 0.6674 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.1579, allocations: 136.5 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1582, allocations: 300.1 kB / 0.6679 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1582, allocations: 37.7 kB / 0.6679 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.1583, allocations: 120.7 kB / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.779e-05/0.1584, allocations: 118.3 kB / 0.6681 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.1585, allocations: 65.69 kB / 0.6682 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1586, allocations: 342.8 kB / 0.6685 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.1588, allocations: 79.95 kB / 0.6686 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.159, allocations: 127.2 kB / 0.6687 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1593, allocations: 217.3 kB / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1593, allocations: 0 / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004339/0.1597, allocations: 269.2 kB / 0.6692 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1598, allocations: 8 kB / 0.6692 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1598, allocations: 0 / 0.6692 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1598, allocations: 11.88 kB / 0.6692 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.16, allocations: 63.95 kB / 0.6693 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1601, allocations: 4 kB / 0.6693 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1602, allocations: 23.75 kB / 0.6693 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.1602, allocations: 19.97 kB / 0.6693 GB, free: 0.9102 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.0001514/0.1604, allocations: 166.6 kB / 0.6695 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1605, allocations: 27.66 kB / 0.6695 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.1611, allocations: 380.4 kB / 0.6699 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.1611, allocations: 4 kB / 0.6699 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1612, allocations: 4 kB / 0.6699 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1612, allocations: 3.984 kB / 0.6699 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1615, allocations: 329.2 kB / 0.6702 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1615, allocations: 0 / 0.6702 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.1617, allocations: 55.91 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.1617, allocations: 4 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.1617, allocations: 11.98 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1617, allocations: 0 / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1617, allocations: 0 / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1622, allocations: 327.1 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1623, allocations: 144.6 kB / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1624, allocations: 11.98 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1625, allocations: 8 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.1626, allocations: 31.89 kB / 0.6707 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.1626, allocations: 12 kB / 0.6708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000192/0.1628, allocations: 233.6 kB / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1628, allocations: 4 kB / 0.671 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002803/0.1631, allocations: 51.94 kB / 0.671 GB, free: 15.04 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.0008838/0.164, allocations: 417.7 kB / 0.6714 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.1644, allocations: 227.8 kB / 0.6716 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1644, allocations: 0 / 0.6716 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.1646, allocations: 123.9 kB / 0.6718 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.1649, allocations: 42.31 kB / 0.6718 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.1656, allocations: 0.5222 MB / 0.6723 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.166, allocations: 0.7574 MB / 0.6731 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1661, allocations: 51.41 kB / 0.6731 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1661, allocations: 4 kB / 0.6731 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of Templates: time 0.006723/0.1729, allocations: 4.207 MB / 0.6772 GB, free: 8.84 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)