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.483/1.483, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 180.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008201/0.0008201, allocations: 82.61 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.277e-05, allocations: 8 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1646, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6611/0.8257, allocations: 135.9 MB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.826, allocations: 88.19 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.8497, allocations: 8.735 MB / 1.033 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8498, allocations: 0 / 1.033 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.8498, allocations: 4 kB / 1.033 GB, free: 7.531 MB / 0.6511 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.0006676/0.8505, allocations: 0.4888 MB / 1.034 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.8505, allocations: 12.03 kB / 1.034 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.8506, allocations: 53.67 kB / 1.034 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.8508, allocations: 39.61 kB / 1.034 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.8511, allocations: 283.2 kB / 1.034 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8511, allocations: 11.25 kB / 1.034 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.8512, allocations: 14.69 kB / 1.034 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.8515, allocations: 226 kB / 1.034 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8515, allocations: 4 kB / 1.034 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.8516, allocations: 10.88 kB / 1.034 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8516, allocations: 4 kB / 1.034 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.8524, allocations: 0.7426 MB / 1.035 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.8533, allocations: 0.6031 MB / 1.036 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.8537, allocations: 304.2 kB / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.8539, allocations: 112.9 kB / 1.036 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.8539, allocations: 16.25 kB / 1.036 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002764/0.8542, allocations: 185.5 kB / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.8542, allocations: 0 / 1.036 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0004799/0.8547, allocations: 283.1 kB / 1.037 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.8548, allocations: 132.5 kB / 1.037 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.8551, allocations: 265.9 kB / 1.037 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.8551, allocations: 38.58 kB / 1.037 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.8552, allocations: 131.4 kB / 1.037 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.8553, allocations: 116 kB / 1.037 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.8553, allocations: 5.062 kB / 1.037 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8555, allocations: 337.6 kB / 1.038 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.8556, allocations: 82.05 kB / 1.038 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.8558, allocations: 126.7 kB / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.856, allocations: 100.1 kB / 1.038 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.856, allocations: 0 / 1.038 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000429/0.8564, allocations: 272.9 kB / 1.038 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8564, allocations: 8 kB / 1.038 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8565, allocations: 3.938 kB / 1.038 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8565, allocations: 3.953 kB / 1.038 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.8567, allocations: 63.41 kB / 1.038 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.8567, allocations: 4 kB / 1.038 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.8569, allocations: 35.23 kB / 1.038 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.857, allocations: 19.23 kB / 1.038 GB, free: 2.965 MB / 0.6511 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 0.0001173/0.8571, allocations: 115.2 kB / 1.038 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.8572, allocations: 23.72 kB / 1.038 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.8578, allocations: 387.1 kB / 1.039 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8579, allocations: 7.953 kB / 1.039 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8579, allocations: 0 / 1.039 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8579, allocations: 0 / 1.039 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.8582, allocations: 356.5 kB / 1.039 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8582, allocations: 0 / 1.039 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.8584, allocations: 59.91 kB / 1.039 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8584, allocations: 0 / 1.039 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.8585, allocations: 10.06 kB / 1.039 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8585, allocations: 7.938 kB / 1.039 GB, free: 2.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8585, allocations: 7.953 kB / 1.039 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.8589, allocations: 317.6 kB / 1.039 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.8591, allocations: 162.8 kB / 1.04 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.8591, allocations: 14.86 kB / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.8593, allocations: 31.11 kB / 1.04 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.8594, allocations: 27.81 kB / 1.04 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.8594, allocations: 19.27 kB / 1.04 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001998/0.8596, allocations: 218.8 kB / 1.04 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8597, allocations: 0 / 1.04 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003051/0.86, allocations: 78.73 kB / 1.04 GB, free: 1.367 MB / 0.6511 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.001437/0.8614, allocations: 1.108 MB / 1.041 GB, free: 396 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.8618, allocations: 221.1 kB / 1.041 GB, free: 228 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8618, allocations: 0 / 1.041 GB, free: 228 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.862, allocations: 137.7 kB / 1.041 GB, free: 120 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.8622, allocations: 34.67 kB / 1.041 GB, free: 96 kB / 0.6511 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0009161/0.8631, allocations: 0.4908 MB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.8635, allocations: 0.7763 MB / 1.043 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.8638, allocations: 154.8 kB / 1.043 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.864, allocations: 99.45 kB / 1.043 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/0.864, allocations: 0 / 1.043 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2751/1.139, allocations: 6.006 MB / 1.049 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/1.139, allocations: 231 kB / 1.049 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/3.095, allocations: 3.516 kB / 1.049 GB, free: 8.516 MB / 0.6667 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)