Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001164/0.001164, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 294.8 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9443/0.9443, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 91.09 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002808/0.1493, allocations: 1.694 MB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1508, allocations: 1.14 MB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.1509, allocations: 0 / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1511, allocations: 19.92 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1513, allocations: 60.53 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1516, allocations: 115.3 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1518, allocations: 218.5 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.1519, allocations: 21.75 kB / 0.6826 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.152, allocations: 68.83 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1522, allocations: 91.7 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.1522, allocations: 8 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1524, allocations: 79.89 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.1525, allocations: 71.75 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.273e-05/0.1526, allocations: 91.39 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.1529, allocations: 263.2 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1529, allocations: 0 / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1529, allocations: 0 / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1529, allocations: 0 / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006865/0.1536, allocations: 0.5345 MB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1536, allocations: 12.03 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.1537, allocations: 32.56 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.154, allocations: 255.8 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.154, allocations: 12.38 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.154, allocations: 12.38 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1544, allocations: 217.5 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1544, allocations: 0 / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1544, allocations: 8 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1544, allocations: 11.98 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008932/0.1553, allocations: 0.7409 MB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.1561, allocations: 0.5744 MB / 0.6856 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/0.1566, allocations: 299.6 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1568, allocations: 105.4 kB / 0.686 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.1569, allocations: 16.25 kB / 0.686 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.1572, allocations: 177.5 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.1572, allocations: 0 / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006691/0.1579, allocations: 373.1 kB / 0.6865 GB, free: 9.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.158, allocations: 136.5 kB / 0.6867 GB, free: 9.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1583, allocations: 300 kB / 0.687 GB, free: 9.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1583, allocations: 33.7 kB / 0.687 GB, free: 9.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.1584, allocations: 120.7 kB / 0.6871 GB, free: 9.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.1585, allocations: 122.3 kB / 0.6872 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1586, allocations: 65.69 kB / 0.6873 GB, free: 8.906 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1587, allocations: 338.8 kB / 0.6876 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1589, allocations: 79.95 kB / 0.6877 GB, free: 8.488 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1591, allocations: 129.2 kB / 0.6878 GB, free: 8.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.1594, allocations: 217 kB / 0.688 GB, free: 8.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1594, allocations: 0 / 0.688 GB, free: 8.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004334/0.1598, allocations: 273.1 kB / 0.6883 GB, free: 7.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1599, allocations: 8 kB / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1599, allocations: 0 / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1599, allocations: 0 / 0.6883 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1601, allocations: 67.84 kB / 0.6883 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1601, allocations: 3.938 kB / 0.6883 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.1603, allocations: 29.31 kB / 0.6884 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.1603, allocations: 23.98 kB / 0.6884 GB, free: 7.734 MB / 494.1 MB 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.0001399/0.1605, allocations: 155.1 kB / 0.6885 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.1605, allocations: 23.72 kB / 0.6886 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.1612, allocations: 380.4 kB / 0.6889 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1612, allocations: 4 kB / 0.6889 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1612, allocations: 4 kB / 0.6889 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1612, allocations: 11.92 kB / 0.689 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.1615, allocations: 321.3 kB / 0.6893 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1615, allocations: 0 / 0.6893 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1617, allocations: 59.91 kB / 0.6893 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1617, allocations: 0 / 0.6893 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.1618, allocations: 15.98 kB / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1618, allocations: 0 / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1618, allocations: 8 kB / 0.6893 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.1622, allocations: 323 kB / 0.6896 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1624, allocations: 144.7 kB / 0.6898 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.1624, allocations: 8 kB / 0.6898 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1626, allocations: 15.98 kB / 0.6898 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.1626, allocations: 27.95 kB / 0.6898 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.1627, allocations: 11.94 kB / 0.6898 GB, free: 6.152 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1629, allocations: 233.8 kB / 0.6901 GB, free: 5.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 0 / 0.6901 GB, free: 5.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1632, allocations: 59.94 kB / 0.6901 GB, free: 5.867 MB / 494.1 MB 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.0009233/0.1641, allocations: 401.8 kB / 0.6905 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.1645, allocations: 227.9 kB / 0.6907 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1645, allocations: 0 / 0.6907 GB, free: 5.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1647, allocations: 131.8 kB / 0.6909 GB, free: 5.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1649, allocations: 33.59 kB / 0.6909 GB, free: 5.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.1657, allocations: 0.5714 MB / 0.6914 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.166, allocations: 0.7613 MB / 0.6922 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.1663, allocations: 146.8 kB / 0.6923 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.1664, allocations: 39.42 kB / 0.6924 GB, free: 3.668 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1664, allocations: 0 / 0.6924 GB, free: 3.668 MB / 494.1 MB Notification: Performance of Templates: time 0.005753/0.1721, allocations: 2.89 MB / 0.6952 GB, free: 0.7969 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)