Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 289.7 MB / 302.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 182.3 kB / 371.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000898/0.0008982, allocations: 87.67 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.814e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8036/1.076, allocations: 143.2 MB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.077, allocations: 88.84 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02021/1.097, allocations: 8.72 MB / 1.128 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.765e-06/1.097, allocations: 0 / 1.128 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.097, allocations: 19.31 kB / 1.128 GB, free: 36.71 MB / 0.7448 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.0005353/1.097, allocations: 0.4928 MB / 1.129 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.098, allocations: 8.031 kB / 1.129 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/1.098, allocations: 55.41 kB / 1.129 GB, free: 36.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/1.098, allocations: 29.44 kB / 1.129 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/1.098, allocations: 276.1 kB / 1.129 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/1.098, allocations: 10.77 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.098, allocations: 17.62 kB / 1.129 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/1.098, allocations: 230.4 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.098, allocations: 0 / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/1.098, allocations: 13.72 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/1.098, allocations: 4 kB / 1.129 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/1.099, allocations: 0.742 MB / 1.13 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/1.1, allocations: 0.61 MB / 1.131 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/1.1, allocations: 293.6 kB / 1.131 GB, free: 34.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/1.101, allocations: 107.6 kB / 1.131 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/1.101, allocations: 23.22 kB / 1.131 GB, free: 34.56 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/1.101, allocations: 182.5 kB / 1.131 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/1.101, allocations: 0 / 1.131 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.0004364/1.101, allocations: 275.8 kB / 1.132 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.101, allocations: 140.1 kB / 1.132 GB, free: 34.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/1.102, allocations: 264.1 kB / 1.132 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/1.102, allocations: 29.33 kB / 1.132 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/1.102, allocations: 138.3 kB / 1.132 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/1.102, allocations: 115.7 kB / 1.132 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/1.102, allocations: 6.812 kB / 1.132 GB, free: 33.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/1.102, allocations: 339.7 kB / 1.133 GB, free: 33.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/1.102, allocations: 74.66 kB / 1.133 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/1.102, allocations: 133.5 kB / 1.133 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/1.102, allocations: 97.05 kB / 1.133 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.102, allocations: 0 / 1.133 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003427/1.103, allocations: 280.8 kB / 1.133 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.103, allocations: 8.672 kB / 1.133 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.103, allocations: 0.6562 kB / 1.133 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.103, allocations: 4 kB / 1.133 GB, free: 32.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/1.103, allocations: 65.75 kB / 1.133 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/1.103, allocations: 0 / 1.133 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/1.103, allocations: 34.05 kB / 1.133 GB, free: 32.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/1.103, allocations: 15.86 kB / 1.133 GB, free: 32.84 MB / 0.7448 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 () * 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 8.294e-05/1.103, allocations: 135.3 kB / 1.133 GB, free: 32.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/1.103, allocations: 24.28 kB / 1.133 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/1.104, allocations: 387 kB / 1.134 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.104, allocations: 4 kB / 1.134 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.104, allocations: 3.953 kB / 1.134 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.104, allocations: 0 / 1.134 GB, free: 32.45 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/1.104, allocations: 351.3 kB / 1.134 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.104, allocations: 4.656 kB / 1.134 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/1.104, allocations: 60.06 kB / 1.134 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.104, allocations: 0 / 1.134 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.104, allocations: 14.78 kB / 1.134 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.104, allocations: 5.016 kB / 1.134 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.104, allocations: 0 / 1.134 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/1.105, allocations: 315.2 kB / 1.135 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.105, allocations: 156.7 kB / 1.135 GB, free: 31.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/1.105, allocations: 3.688 kB / 1.135 GB, free: 31.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.105, allocations: 38.16 kB / 1.135 GB, free: 31.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/1.105, allocations: 27.45 kB / 1.135 GB, free: 31.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/1.105, allocations: 15.11 kB / 1.135 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001608/1.105, allocations: 225.4 kB / 1.135 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.6e-07/1.105, allocations: 0 / 1.135 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002913/1.106, allocations: 82.16 kB / 1.135 GB, free: 31.47 MB / 0.7448 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) * 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.001272/1.107, allocations: 1.119 MB / 1.136 GB, free: 30.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003214/1.107, allocations: 221.9 kB / 1.136 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.107, allocations: 0 / 1.136 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/1.107, allocations: 132.6 kB / 1.136 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.108, allocations: 29.22 kB / 1.137 GB, free: 30.3 MB / 0.7448 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/1.108, allocations: 0.4929 MB / 1.137 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/1.109, allocations: 0.7822 MB / 1.138 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003048/1.109, allocations: 153.3 kB / 1.138 GB, free: 29.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.109, allocations: 97.06 kB / 1.138 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/1.109, allocations: 0 / 1.138 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/1.544, allocations: 5.985 MB / 1.144 GB, free: 25.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.544, allocations: 225.4 kB / 1.144 GB, free: 25.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/3.438, allocations: 3.656 kB / 1.144 GB, free: 25.26 MB / 0.7448 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)