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.001296/0.001296, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001383/0.001383, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 285.3 kB / 291 MB, free: 14.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8912/0.8912, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 96.91 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1601, allocations: 86.97 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003039/0.1632, allocations: 1.692 MB / 0.6819 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1649, allocations: 1.143 MB / 0.683 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.165, allocations: 4 kB / 0.683 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1653, allocations: 27.84 kB / 0.6831 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.1656, allocations: 47.84 kB / 0.6831 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.166, allocations: 126.9 kB / 0.6832 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1663, allocations: 225.6 kB / 0.6835 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1664, allocations: 28.14 kB / 0.6835 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1665, allocations: 83.77 kB / 0.6836 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1667, allocations: 93.64 kB / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.1668, allocations: 16 kB / 0.6837 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1669, allocations: 75.97 kB / 0.6837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.167, allocations: 79.75 kB / 0.6838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1671, allocations: 107.3 kB / 0.6839 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1674, allocations: 199.7 kB / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1674, allocations: 0 / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1674, allocations: 0 / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1674, allocations: 7.938 kB / 0.6841 GB, free: 4.621 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.000716/0.1681, allocations: 0.5229 MB / 0.6846 GB, free: 4.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1682, allocations: 12.03 kB / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.1683, allocations: 28.56 kB / 0.6847 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1685, allocations: 259.8 kB / 0.6849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1686, allocations: 12.38 kB / 0.6849 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.1686, allocations: 12.38 kB / 0.6849 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.1689, allocations: 226 kB / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.169, allocations: 0 / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.169, allocations: 8 kB / 0.6852 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.169, allocations: 7.984 kB / 0.6852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.1699, allocations: 0.741 MB / 0.6859 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.1706, allocations: 0.5705 MB / 0.6864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.1711, allocations: 299.6 kB / 0.6867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1713, allocations: 101.4 kB / 0.6868 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.1713, allocations: 20.23 kB / 0.6869 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000336/0.1716, allocations: 180.9 kB / 0.687 GB, free: 1.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 3.226e-06/0.1717, allocations: 4 kB / 0.687 GB, free: 1.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006295/0.1723, allocations: 369.7 kB / 0.6874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.1724, allocations: 136.5 kB / 0.6875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.1727, allocations: 296.1 kB / 0.6878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.1727, allocations: 41.58 kB / 0.6878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.1728, allocations: 124.7 kB / 0.688 GB, free: 468 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/0.1729, allocations: 114.3 kB / 0.6881 GB, free: 352 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.839e-05/0.173, allocations: 65.69 kB / 0.6881 GB, free: 280 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2657/0.4386, allocations: 339 kB / 0.6884 GB, free: 18.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.4389, allocations: 79 kB / 0.6885 GB, free: 18.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.4391, allocations: 122 kB / 0.6886 GB, free: 18.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.4395, allocations: 220 kB / 0.6888 GB, free: 18.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4395, allocations: 0 / 0.6888 GB, free: 18.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004778/0.44, allocations: 277.9 kB / 0.6891 GB, free: 18.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.44, allocations: 6.016 kB / 0.6891 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.44, allocations: 2.781 kB / 0.6891 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4401, allocations: 1.875 kB / 0.6891 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.4403, allocations: 63.42 kB / 0.6892 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4403, allocations: 5.938 kB / 0.6892 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.4405, allocations: 22.48 kB / 0.6892 GB, free: 18.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.4405, allocations: 12.86 kB / 0.6892 GB, free: 18.19 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.000145/0.4407, allocations: 162.3 kB / 0.6894 GB, free: 18.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.4407, allocations: 26.45 kB / 0.6894 GB, free: 18.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/0.4414, allocations: 381 kB / 0.6898 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.4414, allocations: 4.625 kB / 0.6898 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4414, allocations: 3.938 kB / 0.6898 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4414, allocations: 1.969 kB / 0.6898 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4417, allocations: 330.2 kB / 0.6901 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4417, allocations: 1.875 kB / 0.6901 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.4419, allocations: 58.61 kB / 0.6901 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4419, allocations: 6 kB / 0.6902 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.4419, allocations: 10.39 kB / 0.6902 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4419, allocations: 1.688 kB / 0.6902 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4419, allocations: 3.938 kB / 0.6902 GB, free: 17.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.4424, allocations: 319.5 kB / 0.6905 GB, free: 17.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4426, allocations: 141.5 kB / 0.6906 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.4426, allocations: 11.11 kB / 0.6906 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.4428, allocations: 20.62 kB / 0.6906 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.4428, allocations: 25.67 kB / 0.6907 GB, free: 17.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.4429, allocations: 14.95 kB / 0.6907 GB, free: 17.65 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.4431, allocations: 230.5 kB / 0.6909 GB, free: 17.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4431, allocations: 0.9062 kB / 0.6909 GB, free: 17.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.4434, allocations: 59.66 kB / 0.691 GB, free: 17.55 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.0008669/0.4442, allocations: 412.5 kB / 0.6913 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.4448, allocations: 297.6 kB / 0.6916 GB, free: 17.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4448, allocations: 4.625 kB / 0.6916 GB, free: 17.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.445, allocations: 126.8 kB / 0.6918 GB, free: 17.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4452, allocations: 36.44 kB / 0.6918 GB, free: 17.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.446, allocations: 0.6068 MB / 0.6924 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.4462, allocations: 0.7618 MB / 0.6931 GB, free: 16.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.4463, allocations: 47.16 kB / 0.6932 GB, free: 16.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4463, allocations: 1 kB / 0.6932 GB, free: 16.18 MB / 494.1 MB Notification: Performance of Templates: time 0.007163/0.4535, allocations: 4.183 MB / 0.6973 GB, free: 15.69 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)