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.001085/0.001085, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001092/0.001092, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8103/0.8103, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 67.33 kB / 0.5863 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1694, allocations: 80.91 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003422/0.1729, allocations: 1.625 MB / 0.6669 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1749, allocations: 1.16 MB / 0.668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1751, allocations: 0 / 0.668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1755, allocations: 27.78 kB / 0.6681 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.176, allocations: 67.7 kB / 0.6681 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.1766, allocations: 139 kB / 0.6683 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.177, allocations: 225.6 kB / 0.6685 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1771, allocations: 27.94 kB / 0.6685 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1773, allocations: 75.81 kB / 0.6686 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.1777, allocations: 91.77 kB / 0.6687 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.946e-05/0.1777, allocations: 20 kB / 0.6687 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.178, allocations: 67.98 kB / 0.6687 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.1781, allocations: 83.8 kB / 0.6688 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1783, allocations: 95.34 kB / 0.6689 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.1788, allocations: 283.1 kB / 0.6692 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1789, allocations: 0 / 0.6692 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1789, allocations: 0 / 0.6692 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.1789, allocations: 0 / 0.6692 GB, free: 1.855 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.000995/0.1799, allocations: 0.5267 MB / 0.6697 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.18, allocations: 9.109 kB / 0.6697 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1801, allocations: 24.66 kB / 0.6697 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1804, allocations: 271.6 kB / 0.67 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1805, allocations: 12.38 kB / 0.67 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.1805, allocations: 12.38 kB / 0.67 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.1809, allocations: 221.4 kB / 0.6702 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1809, allocations: 4 kB / 0.6702 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.181, allocations: 4 kB / 0.6702 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.181, allocations: 4 kB / 0.6702 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.1819, allocations: 0.7334 MB / 0.6709 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.1828, allocations: 0.5629 MB / 0.6715 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.1833, allocations: 296.9 kB / 0.6718 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1835, allocations: 109.4 kB / 0.6719 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.1835, allocations: 16.25 kB / 0.6719 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.1839, allocations: 176.9 kB / 0.6721 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.833e-06/0.1839, allocations: 0 / 0.6721 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34): time 0.0006904/0.1846, allocations: 370.5 kB / 0.6724 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.1847, allocations: 132.5 kB / 0.6725 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.185, allocations: 308 kB / 0.6728 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.185, allocations: 33.7 kB / 0.6729 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.1851, allocations: 128.6 kB / 0.673 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.1852, allocations: 114.4 kB / 0.6731 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1853, allocations: 65.69 kB / 0.6732 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.1855, allocations: 338.8 kB / 0.6735 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1856, allocations: 79.95 kB / 0.6736 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.1858, allocations: 127.4 kB / 0.6737 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.1861, allocations: 213.3 kB / 0.6739 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1861, allocations: 0 / 0.6739 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004368/0.1866, allocations: 277.1 kB / 0.6742 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1866, allocations: 7.938 kB / 0.6742 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1866, allocations: 0 / 0.6742 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1866, allocations: 4 kB / 0.6742 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1869, allocations: 63.91 kB / 0.6742 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1869, allocations: 0 / 0.6742 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.1871, allocations: 27.83 kB / 0.6743 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.1871, allocations: 15.98 kB / 0.6743 GB, free: 12.37 MB / 0.5137 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.0001727/0.1873, allocations: 161.7 kB / 0.6744 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.1874, allocations: 31.62 kB / 0.6745 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.1881, allocations: 380.7 kB / 0.6748 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1881, allocations: 4 kB / 0.6748 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1881, allocations: 0 / 0.6748 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.1881, allocations: 3.984 kB / 0.6748 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.1884, allocations: 333.2 kB / 0.6751 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1884, allocations: 0 / 0.6751 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.1886, allocations: 55.91 kB / 0.6752 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1886, allocations: 4 kB / 0.6752 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1886, allocations: 8 kB / 0.6752 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.1887, allocations: 7.984 kB / 0.6752 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1887, allocations: 0 / 0.6752 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.1891, allocations: 317.7 kB / 0.6755 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1893, allocations: 144.7 kB / 0.6757 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.1893, allocations: 4 kB / 0.6757 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1895, allocations: 19.98 kB / 0.6757 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.1896, allocations: 23.97 kB / 0.6757 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.1896, allocations: 11.98 kB / 0.6757 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002051/0.1898, allocations: 233.6 kB / 0.6759 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1898, allocations: 0 / 0.6759 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003099/0.1901, allocations: 63.92 kB / 0.676 GB, free: 10.49 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.001016/0.1911, allocations: 408.4 kB / 0.6764 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1916, allocations: 224.6 kB / 0.6766 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1916, allocations: 8 kB / 0.6766 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1918, allocations: 131.8 kB / 0.6767 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1921, allocations: 28.67 kB / 0.6768 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.1929, allocations: 0.5299 MB / 0.6773 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.1932, allocations: 0.7574 MB / 0.678 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1933, allocations: 47.41 kB / 0.6781 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1933, allocations: 4 kB / 0.6781 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of Templates: time 0.008212/0.2015, allocations: 4.196 MB / 0.6822 GB, free: 4.266 MB / 0.5137 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)