Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00114/0.00114, allocations: 104.3 kB / 16.27 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.001057/0.001058, allocations: 193 kB / 17.2 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.5495 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.42 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.277, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003435/0.2805, allocations: 1.609 MB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.2822, allocations: 1.066 MB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.2822, allocations: 4 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.2825, allocations: 27.78 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.2828, allocations: 63.67 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.2831, allocations: 110.9 kB / 0.7868 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.2834, allocations: 221.6 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2836, allocations: 28.27 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.2837, allocations: 83.75 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2839, allocations: 87.77 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.2839, allocations: 16 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.2841, allocations: 55.98 kB / 0.7873 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.2842, allocations: 79.8 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2843, allocations: 107.4 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.2846, allocations: 263.1 kB / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2846, allocations: 0 / 0.7877 GB, free: 48 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2847, allocations: 3.984 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2847, allocations: 0 / 0.7878 GB, free: 44 kB / 0.6544 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.4669/0.7516, allocations: 0.5145 MB / 0.7883 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7517, allocations: 8.969 kB / 0.7883 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.939e-05/0.7518, allocations: 24.16 kB / 0.7883 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.752, allocations: 264.4 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.7521, allocations: 14.66 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.7521, allocations: 13.56 kB / 0.7886 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.7524, allocations: 215.6 kB / 0.7888 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7525, allocations: 0 / 0.7888 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.7525, allocations: 7.688 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.7525, allocations: 5.25 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.7533, allocations: 0.7331 MB / 0.7895 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.7541, allocations: 0.5641 MB / 0.79 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.7546, allocations: 297.7 kB / 0.7903 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.7547, allocations: 105.1 kB / 0.7904 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.7548, allocations: 20.31 kB / 0.7905 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/0.7551, allocations: 176.6 kB / 0.7906 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 1.533e-06/0.7552, allocations: 0 / 0.7906 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.0006197/0.7558, allocations: 367.3 kB / 0.791 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.7559, allocations: 140.1 kB / 0.7911 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.7561, allocations: 298.9 kB / 0.7914 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.7561, allocations: 33.23 kB / 0.7914 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.7562, allocations: 128.6 kB / 0.7915 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.7563, allocations: 112.6 kB / 0.7917 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.7564, allocations: 64.61 kB / 0.7917 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.7564, allocations: 341 kB / 0.792 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.7566, allocations: 85.8 kB / 0.7921 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.7567, allocations: 125.9 kB / 0.7922 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.757, allocations: 212.9 kB / 0.7924 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.757, allocations: 3.219 kB / 0.7924 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003585/0.7574, allocations: 282.1 kB / 0.7927 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.7574, allocations: 6.906 kB / 0.7927 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7574, allocations: 0 / 0.7927 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.7574, allocations: 0 / 0.7927 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.7576, allocations: 64.14 kB / 0.7928 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7577, allocations: 3.469 kB / 0.7928 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.7578, allocations: 23.94 kB / 0.7928 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.7578, allocations: 11.06 kB / 0.7928 GB, free: 47.14 MB / 0.6544 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.0001259/0.758, allocations: 167.8 kB / 0.793 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.758, allocations: 25.56 kB / 0.793 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.7585, allocations: 318.1 kB / 0.7933 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7585, allocations: 5.047 kB / 0.7933 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7585, allocations: 0 / 0.7933 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.7586, allocations: 4.875 kB / 0.7933 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.7588, allocations: 338.9 kB / 0.7936 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7588, allocations: 0 / 0.7936 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.759, allocations: 55.45 kB / 0.7937 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.759, allocations: 5.094 kB / 0.7937 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.759, allocations: 12.92 kB / 0.7937 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.759, allocations: 2.312 kB / 0.7937 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.759, allocations: 3.656 kB / 0.7937 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.7594, allocations: 324.4 kB / 0.794 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.7596, allocations: 137 kB / 0.7942 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.7596, allocations: 13.09 kB / 0.7942 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7597, allocations: 13.3 kB / 0.7942 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.7598, allocations: 24.78 kB / 0.7942 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.7598, allocations: 14.28 kB / 0.7942 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001712/0.76, allocations: 234.9 kB / 0.7944 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.76, allocations: 0 / 0.7944 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002777/0.7603, allocations: 57.05 kB / 0.7945 GB, free: 46.49 MB / 0.6544 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.001006/0.7613, allocations: 404.3 kB / 0.7949 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.7618, allocations: 300.7 kB / 0.7952 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7618, allocations: 7.469 kB / 0.7952 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.762, allocations: 124.8 kB / 0.7953 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.7623, allocations: 38.97 kB / 0.7953 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.7631, allocations: 0.5286 MB / 0.7958 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.7633, allocations: 0.7531 MB / 0.7966 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.7634, allocations: 50.09 kB / 0.7966 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.7634, allocations: 0 / 0.7966 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.008344/0.7718, allocations: 4.159 MB / 0.8007 GB, free: 45.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)