Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.621/1.621, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 172.2 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5777 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007898/0.0007896, allocations: 85.17 kB / 0.6823 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 9.094 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2617, allocations: 106.3 MB / 0.9003 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002574/0.2644, allocations: 1.312 MB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2663, allocations: 1.008 MB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2665, allocations: 0 / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.2668, allocations: 19.92 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.2671, allocations: 55.83 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.2676, allocations: 106.5 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.2679, allocations: 193.6 kB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2681, allocations: 15.97 kB / 0.9029 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.2682, allocations: 67.83 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2685, allocations: 75.78 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.2686, allocations: 8 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2688, allocations: 59.97 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.709e-05/0.2689, allocations: 63.81 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.269, allocations: 57.58 kB / 0.9033 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.2693, allocations: 187.6 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2693, allocations: 0 / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2693, allocations: 0 / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2693, allocations: 4 kB / 0.9034 GB, free: 60.89 MB / 0.6042 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.0008833/0.2702, allocations: 487.7 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.2703, allocations: 12.03 kB / 0.9039 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.268e-05/0.2704, allocations: 50.55 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.2705, allocations: 35.52 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.2708, allocations: 246.8 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2708, allocations: 15.94 kB / 0.9043 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.2709, allocations: 12 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.2713, allocations: 204.8 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2713, allocations: 4 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.2713, allocations: 8 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.2713, allocations: 4 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.2724, allocations: 0.7334 MB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2734, allocations: 0.5667 MB / 0.9057 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.274, allocations: 295.7 kB / 0.906 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2742, allocations: 101.4 kB / 0.9061 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.2743, allocations: 28.23 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.2747, allocations: 180.8 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 2.905e-06/0.2747, allocations: 0 / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0007506/0.2754, allocations: 365.1 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.2755, allocations: 136.5 kB / 0.9068 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.2759, allocations: 300 kB / 0.9071 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2759, allocations: 29.7 kB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.276, allocations: 124.7 kB / 0.9072 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.2761, allocations: 110.5 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.2761, allocations: 7.938 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/0.2762, allocations: 334.8 kB / 0.9077 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.2764, allocations: 83.89 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.2766, allocations: 131.2 kB / 0.9079 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2768, allocations: 95.97 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2769, allocations: 0 / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005448/0.2774, allocations: 277.9 kB / 0.9082 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.2774, allocations: 8 kB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2775, allocations: 0 / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2775, allocations: 3.953 kB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.2778, allocations: 63.91 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.2778, allocations: 4 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.278, allocations: 37.7 kB / 0.9083 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.2781, allocations: 12 kB / 0.9084 GB, free: 55.58 MB / 0.6042 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.2783, allocations: 161.7 kB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.2783, allocations: 23.72 kB / 0.9085 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000773/0.2791, allocations: 393.4 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2791, allocations: 4 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2792, allocations: 3.953 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2792, allocations: 0 / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.2795, allocations: 333.2 kB / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2795, allocations: 0 / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.2798, allocations: 55.91 kB / 0.9093 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2798, allocations: 4 kB / 0.9093 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.2798, allocations: 8 kB / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2798, allocations: 4 kB / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2799, allocations: 0 / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005413/0.2804, allocations: 322 kB / 0.9096 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2806, allocations: 144.7 kB / 0.9097 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.2806, allocations: 7.984 kB / 0.9098 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.2808, allocations: 16 kB / 0.9098 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.2809, allocations: 28 kB / 0.9098 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.281, allocations: 19.98 kB / 0.9098 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002402/0.2812, allocations: 233.5 kB / 0.91 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2812, allocations: 7.875 kB / 0.91 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000443/0.2817, allocations: 59.94 kB / 0.9101 GB, free: 53.7 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.2834, allocations: 1.143 MB / 0.9112 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.2839, allocations: 228.5 kB / 0.9114 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2839, allocations: 0 / 0.9114 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.2842, allocations: 135.7 kB / 0.9116 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2846, allocations: 36.03 kB / 0.9116 GB, free: 52.28 MB / 0.6042 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.2873, allocations: 1.459 MB / 0.913 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2875, allocations: 0.7612 MB / 0.9138 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.288, allocations: 147 kB / 0.9139 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.2882, allocations: 87.41 kB / 0.914 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/0.2882, allocations: 0 / 0.914 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3248/0.613, allocations: 5.385 MB / 0.9193 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.6132, allocations: 255.4 kB / 0.9195 GB, free: 44.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.71, allocations: 0 / 0.9195 GB, free: 44.17 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)