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.0007877/0.0007875, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.005215/0.005216, allocations: 169.8 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 274.4 kB / 291.7 MB, free: 1.852 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 15.81 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001793/0.1533, allocations: 1.343 MB / 0.6864 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1549, allocations: 1.13 MB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.1549, allocations: 0 / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1552, allocations: 28.91 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1554, allocations: 54.2 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1557, allocations: 118.7 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1559, allocations: 217.5 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.1561, allocations: 24.59 kB / 0.688 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1561, allocations: 67.83 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1563, allocations: 83.77 kB / 0.6881 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.1564, allocations: 8 kB / 0.6881 GB, free: 12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1565, allocations: 67.91 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.1566, allocations: 75.73 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1567, allocations: 121.1 kB / 0.6884 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.157, allocations: 251.2 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.157, allocations: 4.625 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.157, allocations: 0.625 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.157, allocations: 0 / 0.6886 GB, free: 11.48 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.0006338/0.1577, allocations: 0.4893 MB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1577, allocations: 8.031 kB / 0.6891 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.1578, allocations: 26.16 kB / 0.6891 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.158, allocations: 255.8 kB / 0.6894 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.1581, allocations: 12.38 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1581, allocations: 20.31 kB / 0.6894 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1584, allocations: 215.4 kB / 0.6896 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1584, allocations: 0.5625 kB / 0.6896 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.1585, allocations: 8 kB / 0.6896 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1585, allocations: 10.25 kB / 0.6896 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.1593, allocations: 0.741 MB / 0.6904 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.1601, allocations: 0.571 MB / 0.6909 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.1606, allocations: 302.2 kB / 0.6912 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1607, allocations: 101.4 kB / 0.6913 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.1608, allocations: 36.16 kB / 0.6913 GB, free: 8.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.1611, allocations: 168 kB / 0.6915 GB, free: 8.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.1611, allocations: 0 / 0.6915 GB, free: 8.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006163/0.1617, allocations: 373.1 kB / 0.6918 GB, free: 8.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1618, allocations: 136.5 kB / 0.692 GB, free: 7.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1621, allocations: 296.1 kB / 0.6923 GB, free: 7.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1621, allocations: 30.48 kB / 0.6923 GB, free: 7.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.1622, allocations: 134.4 kB / 0.6924 GB, free: 7.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.64e-05/0.1623, allocations: 106.3 kB / 0.6925 GB, free: 7.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.1624, allocations: 37.7 kB / 0.6926 GB, free: 7.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1625, allocations: 334.8 kB / 0.6929 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1626, allocations: 80.83 kB / 0.693 GB, free: 6.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.1628, allocations: 125.7 kB / 0.6931 GB, free: 6.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.1631, allocations: 218.2 kB / 0.6933 GB, free: 6.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1631, allocations: 0 / 0.6933 GB, free: 6.465 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000407/0.1635, allocations: 274.1 kB / 0.6935 GB, free: 6.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1636, allocations: 4 kB / 0.6935 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1636, allocations: 3.938 kB / 0.6935 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1636, allocations: 4 kB / 0.6936 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.1638, allocations: 63.91 kB / 0.6936 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1638, allocations: 4 kB / 0.6936 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.164, allocations: 27.77 kB / 0.6936 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.164, allocations: 19.92 kB / 0.6937 GB, free: 6.066 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.0001524/0.1642, allocations: 155.1 kB / 0.6938 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1642, allocations: 27.62 kB / 0.6938 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.1649, allocations: 388.4 kB / 0.6942 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1649, allocations: 0 / 0.6942 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1649, allocations: 4 kB / 0.6942 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.1649, allocations: 11.92 kB / 0.6942 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.1652, allocations: 321.3 kB / 0.6945 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1652, allocations: 0 / 0.6945 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1654, allocations: 59.91 kB / 0.6946 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1654, allocations: 4 kB / 0.6946 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1654, allocations: 11.98 kB / 0.6946 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1654, allocations: 0 / 0.6946 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1655, allocations: 4 kB / 0.6946 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.1659, allocations: 323 kB / 0.6949 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1661, allocations: 148.7 kB / 0.6951 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.1661, allocations: 4 kB / 0.6951 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1663, allocations: 26.16 kB / 0.6951 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1663, allocations: 27.91 kB / 0.6951 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.1664, allocations: 23.92 kB / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1665, allocations: 221.8 kB / 0.6953 GB, free: 4.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1666, allocations: 0 / 0.6953 GB, free: 4.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1668, allocations: 63.84 kB / 0.6954 GB, free: 4.184 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.0009119/0.1678, allocations: 410.3 kB / 0.6958 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.1681, allocations: 231.9 kB / 0.696 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1682, allocations: 0 / 0.696 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.1684, allocations: 123.9 kB / 0.6961 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1686, allocations: 34.38 kB / 0.6962 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.1695, allocations: 0.5849 MB / 0.6967 GB, free: 2.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1698, allocations: 0.7574 MB / 0.6975 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.1701, allocations: 146.9 kB / 0.6976 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.743e-05/0.1702, allocations: 43.41 kB / 0.6977 GB, free: 1.969 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1702, allocations: 0 / 0.6977 GB, free: 1.969 MB / 494.1 MB Notification: Performance of Templates: time 0.00606/0.1763, allocations: 2.847 MB / 0.7004 GB, free: 15.15 MB / 0.4981 GB 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)