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.001866/0.001866, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002114/0.002114, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 286.5 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 178.6 MB / 0.5069 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 95.08 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1605, allocations: 89.16 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003254/0.1638, allocations: 1.682 MB / 0.6946 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1655, allocations: 1.144 MB / 0.6957 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.1656, allocations: 4.625 kB / 0.6958 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.1658, allocations: 19.92 kB / 0.6958 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1661, allocations: 61.53 kB / 0.6958 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1665, allocations: 117.5 kB / 0.6959 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1668, allocations: 242.2 kB / 0.6962 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1669, allocations: 15.27 kB / 0.6962 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.167, allocations: 83.8 kB / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1672, allocations: 93.48 kB / 0.6964 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1673, allocations: 20 kB / 0.6964 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1674, allocations: 74.05 kB / 0.6964 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1675, allocations: 83.73 kB / 0.6965 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1677, allocations: 103.4 kB / 0.6966 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.168, allocations: 271.1 kB / 0.6969 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.168, allocations: 0 / 0.6969 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.168, allocations: 4 kB / 0.6969 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1681, allocations: 3.938 kB / 0.6969 GB, free: 0.7148 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.0008457/0.1689, allocations: 0.5345 MB / 0.6974 GB, free: 136 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1689, allocations: 8.031 kB / 0.6974 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.169, allocations: 24.66 kB / 0.6974 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1694, allocations: 263.8 kB / 0.6977 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1694, allocations: 12.38 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.1694, allocations: 12.38 kB / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.1698, allocations: 229.2 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1699, allocations: 4 kB / 0.6979 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1699, allocations: 4 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1699, allocations: 4 kB / 0.6979 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009455/0.1708, allocations: 0.7412 MB / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.1717, allocations: 0.5744 MB / 0.6992 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.1723, allocations: 299.6 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.1724, allocations: 101.4 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.1725, allocations: 24.23 kB / 0.6996 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.1729, allocations: 176.9 kB / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.1729, allocations: 0 / 0.6998 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0007199/0.1736, allocations: 370 kB / 0.7002 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.1737, allocations: 132.5 kB / 0.7003 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.174, allocations: 300.1 kB / 0.7006 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.1741, allocations: 33.7 kB / 0.7006 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.1742, allocations: 120.8 kB / 0.7007 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1743, allocations: 114.3 kB / 0.7008 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1744, allocations: 65.69 kB / 0.7009 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1746, allocations: 346.7 kB / 0.7012 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1747, allocations: 79.95 kB / 0.7013 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.1749, allocations: 123.4 kB / 0.7014 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.1753, allocations: 218.8 kB / 0.7016 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1753, allocations: 0 / 0.7016 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004785/0.1758, allocations: 273.2 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1758, allocations: 7.984 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1758, allocations: 4 kB / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1759, allocations: 0 / 0.7019 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.1761, allocations: 67.84 kB / 0.702 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1761, allocations: 4 kB / 0.702 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.1763, allocations: 27.77 kB / 0.702 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.1763, allocations: 16 kB / 0.702 GB, free: 11.2 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.0001835/0.1765, allocations: 161.7 kB / 0.7022 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.1766, allocations: 27.62 kB / 0.7022 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.1773, allocations: 392.6 kB / 0.7026 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1773, allocations: 7.938 kB / 0.7026 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1773, allocations: 0 / 0.7026 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.1774, allocations: 3.938 kB / 0.7026 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.1777, allocations: 321.3 kB / 0.7029 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1777, allocations: 7.984 kB / 0.7029 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1779, allocations: 51.92 kB / 0.7029 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1779, allocations: 4 kB / 0.7029 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.178, allocations: 11.98 kB / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.178, allocations: 4 kB / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.178, allocations: 0 / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.1785, allocations: 317.7 kB / 0.7033 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.1787, allocations: 144.7 kB / 0.7034 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.1787, allocations: 4 kB / 0.7034 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1789, allocations: 15.98 kB / 0.7034 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.1789, allocations: 27.97 kB / 0.7034 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.179, allocations: 15.88 kB / 0.7035 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002324/0.1792, allocations: 237.6 kB / 0.7037 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1792, allocations: 0 / 0.7037 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003004/0.1795, allocations: 59.91 kB / 0.7037 GB, free: 9.316 MB / 0.4981 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.001469/0.181, allocations: 405.3 kB / 0.7041 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.1816, allocations: 304.2 kB / 0.7044 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1816, allocations: 4 kB / 0.7044 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.1818, allocations: 131.8 kB / 0.7045 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1821, allocations: 35.52 kB / 0.7046 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009271/0.183, allocations: 0.583 MB / 0.7052 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1835, allocations: 0.7535 MB / 0.7059 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000353/0.1838, allocations: 150.8 kB / 0.706 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.1839, allocations: 43.41 kB / 0.7061 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1839, allocations: 0 / 0.7061 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.007104/0.191, allocations: 2.964 MB / 0.709 GB, free: 4.078 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)