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.555/1.555, allocations: 251.9 MB / 266.9 MB, free: 11 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.001065/0.001065, allocations: 187.1 kB / 326.5 MB, free: 2.234 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.736/1.736, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008878/0.0008878, allocations: 87.88 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 9.156 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001841/0.2383, allocations: 1.304 MB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.2395, allocations: 0.9967 MB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.2396, allocations: 0 / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.2398, allocations: 23.91 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.24, allocations: 55.81 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2403, allocations: 105.2 kB / 0.9026 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2404, allocations: 137.8 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.2405, allocations: 12 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.2406, allocations: 63.88 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2407, allocations: 71.75 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2408, allocations: 8 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2409, allocations: 35.98 kB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.692e-05/0.241, allocations: 71.8 kB / 0.903 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.241, allocations: 53.58 kB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2412, allocations: 191.6 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2412, allocations: 4 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2412, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2412, allocations: 0 / 0.9032 GB, free: 60.71 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.0006152/0.2419, allocations: 491.7 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2419, allocations: 8.031 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.242, allocations: 50.55 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.242, allocations: 31.58 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.2423, allocations: 250.7 kB / 0.904 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2423, allocations: 12 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.2423, allocations: 15.94 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.2426, allocations: 208.8 kB / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2426, allocations: 0 / 0.9042 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.2426, allocations: 8 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2427, allocations: 0 / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.2433, allocations: 0.7334 MB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.2441, allocations: 0.5823 MB / 0.9055 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.2445, allocations: 299.6 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.2445, allocations: 24.23 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.2448, allocations: 166.1 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.2448, allocations: 0 / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.0005699/0.2454, allocations: 373 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.2454, allocations: 140.5 kB / 0.9065 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.2456, allocations: 300 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.2457, allocations: 33.7 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.2458, allocations: 120.7 kB / 0.9069 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.2458, allocations: 102.5 kB / 0.907 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.2458, allocations: 8 kB / 0.907 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.2459, allocations: 338.8 kB / 0.9073 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.246, allocations: 75.95 kB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.2462, allocations: 131.2 kB / 0.9075 GB, free: 56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2463, allocations: 95.97 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2463, allocations: 0 / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003244/0.2466, allocations: 281.9 kB / 0.9079 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2467, allocations: 8 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2467, allocations: 0 / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2467, allocations: 0 / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.2469, allocations: 63.92 kB / 0.908 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2469, allocations: 11.94 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.247, allocations: 33.7 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2471, allocations: 8 kB / 0.908 GB, free: 55.51 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.0001188/0.2472, allocations: 159.9 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.2472, allocations: 27.7 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000546/0.2478, allocations: 388.3 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2478, allocations: 4 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2478, allocations: 3.953 kB / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2478, allocations: 0 / 0.9086 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.2481, allocations: 325.2 kB / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2481, allocations: 0 / 0.9089 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.2482, allocations: 59.91 kB / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2482, allocations: 0 / 0.9089 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2483, allocations: 11.98 kB / 0.9089 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2483, allocations: 11.88 kB / 0.909 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2483, allocations: 0 / 0.909 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.2486, allocations: 331 kB / 0.9093 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2488, allocations: 144.6 kB / 0.9094 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.2488, allocations: 12 kB / 0.9094 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.249, allocations: 15.98 kB / 0.9094 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.249, allocations: 23.97 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.249, allocations: 15.98 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001406/0.2492, allocations: 229.6 kB / 0.9097 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2492, allocations: 0 / 0.9097 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002562/0.2495, allocations: 67.94 kB / 0.9098 GB, free: 53.62 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.001198/0.2507, allocations: 1.136 MB / 0.9109 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003158/0.251, allocations: 227.9 kB / 0.9111 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.251, allocations: 0 / 0.9111 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2511, allocations: 128.3 kB / 0.9112 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.2513, allocations: 36.53 kB / 0.9112 GB, free: 52.21 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.001696/0.253, allocations: 1.448 MB / 0.9127 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2532, allocations: 0.7574 MB / 0.9134 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.2535, allocations: 146.8 kB / 0.9135 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2536, allocations: 91.39 kB / 0.9136 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2536, allocations: 0 / 0.9136 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2814/0.535, allocations: 5.353 MB / 0.9188 GB, free: 44.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.5352, allocations: 254.9 kB / 0.9191 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.458, allocations: 0 / 0.9191 GB, free: 44.16 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)