Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.518/1.518, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001263/0.001263, allocations: 177.1 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009652/0.0009651, allocations: 93.61 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 13.16 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002223/0.2508, allocations: 1.524 MB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2526, allocations: 1.371 MB / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.2528, allocations: 0 / 0.903 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.253, allocations: 23.86 kB / 0.903 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.2533, allocations: 71.77 kB / 0.9031 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.2537, allocations: 134.5 kB / 0.9032 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.2539, allocations: 173.7 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2541, allocations: 25.11 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.2542, allocations: 83.77 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.2544, allocations: 71.78 kB / 0.9035 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2544, allocations: 12 kB / 0.9035 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.2546, allocations: 47.92 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.2547, allocations: 79.72 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.2548, allocations: 61.58 kB / 0.9037 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.2551, allocations: 219.8 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2551, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2551, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2551, allocations: 4 kB / 0.9039 GB, free: 59.91 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007921/0.2559, allocations: 0.4916 MB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.256, allocations: 8.031 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.17e-05/0.256, allocations: 58.48 kB / 0.9045 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.2562, allocations: 39.56 kB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.2565, allocations: 265.6 kB / 0.9048 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2565, allocations: 12 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.2566, allocations: 16 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.2569, allocations: 236.5 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.257, allocations: 0 / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.257, allocations: 12 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.257, allocations: 4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.2577, allocations: 0.7489 MB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.2586, allocations: 0.638 MB / 0.9064 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.2591, allocations: 309.8 kB / 0.9067 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.2591, allocations: 20.25 kB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.2594, allocations: 175.4 kB / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 1.674e-06/0.2595, allocations: 0 / 0.9069 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.000588/0.26, allocations: 370 kB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2601, allocations: 136.4 kB / 0.9074 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.2604, allocations: 316.9 kB / 0.9077 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2604, allocations: 33.7 kB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.2605, allocations: 128.7 kB / 0.9078 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.2606, allocations: 118.3 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2606, allocations: 4 kB / 0.9079 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.2607, allocations: 338.8 kB / 0.9083 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2608, allocations: 79.95 kB / 0.9083 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2609, allocations: 135.5 kB / 0.9085 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2611, allocations: 104 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2611, allocations: 4 kB / 0.9086 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003554/0.2615, allocations: 285.4 kB / 0.9088 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2615, allocations: 7.984 kB / 0.9088 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2615, allocations: 4 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2615, allocations: 0 / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.2617, allocations: 59.91 kB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2617, allocations: 4 kB / 0.9089 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.2619, allocations: 34.88 kB / 0.9089 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.2619, allocations: 11.98 kB / 0.909 GB, free: 54.5 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 (36): * Single equations (assignments): 36 * 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.0001561/0.2621, allocations: 165.7 kB / 0.9091 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.2622, allocations: 35.58 kB / 0.9091 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006239/0.2628, allocations: 388.6 kB / 0.9095 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2628, allocations: 8 kB / 0.9095 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2628, allocations: 0 / 0.9095 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2628, allocations: 0 / 0.9095 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.2631, allocations: 345.2 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2631, allocations: 4 kB / 0.9099 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.2633, allocations: 59.91 kB / 0.9099 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2633, allocations: 3.953 kB / 0.9099 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2633, allocations: 12 kB / 0.9099 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2634, allocations: 0 / 0.9099 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2634, allocations: 0 / 0.9099 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.2637, allocations: 337.9 kB / 0.9103 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2639, allocations: 144.7 kB / 0.9104 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.2639, allocations: 11.94 kB / 0.9104 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2641, allocations: 27.98 kB / 0.9104 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.2642, allocations: 27.95 kB / 0.9105 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.2642, allocations: 16 kB / 0.9105 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001558/0.2644, allocations: 236.4 kB / 0.9107 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2644, allocations: 0 / 0.9107 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002974/0.2647, allocations: 67.91 kB / 0.9108 GB, free: 52.55 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 (35): * Single equations (assignments): 34 * 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.001345/0.266, allocations: 1.151 MB / 0.9119 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.2665, allocations: 232.1 kB / 0.9121 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2665, allocations: 4 kB / 0.9121 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2667, allocations: 136.3 kB / 0.9122 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.267, allocations: 35.19 kB / 0.9123 GB, free: 51.12 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.001895/0.2689, allocations: 1.514 MB / 0.9138 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2692, allocations: 0.777 MB / 0.9145 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.2695, allocations: 147 kB / 0.9147 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2697, allocations: 99.39 kB / 0.9147 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of SimCode: time 1.553e-06/0.2697, allocations: 0 / 0.9147 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.5861, allocations: 5.855 MB / 0.9205 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.5863, allocations: 262.5 kB / 0.9207 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.577, allocations: 0 / 0.9207 GB, free: 42.5 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)