Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009784/0.009784, allocations: 170.9 kB / 15.11 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8231/0.8231, allocations: 135.2 MB / 151.1 MB, free: 13.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.742/1.742, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009952/0.0009952, allocations: 98.66 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3312, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.4769, allocations: 116.1 MB / 0.7629 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4773, allocations: 87.95 kB / 0.763 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.5014, allocations: 9.184 MB / 0.772 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5015, allocations: 0 / 0.772 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.5015, allocations: 4 kB / 0.772 GB, free: 6.562 MB / 0.5417 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.0008958/0.5024, allocations: 0.5381 MB / 0.7725 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5025, allocations: 8.031 kB / 0.7725 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.5026, allocations: 54.55 kB / 0.7726 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.5028, allocations: 31.72 kB / 0.7726 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.5032, allocations: 281.4 kB / 0.7729 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.5032, allocations: 12 kB / 0.7729 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.5033, allocations: 20 kB / 0.7729 GB, free: 5.531 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.5037, allocations: 228.7 kB / 0.7731 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5037, allocations: 0 / 0.7731 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.5037, allocations: 12 kB / 0.7731 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5037, allocations: 4 kB / 0.7731 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008821/0.5046, allocations: 0.7449 MB / 0.7739 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.5055, allocations: 0.5981 MB / 0.7744 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.506, allocations: 306 kB / 0.7747 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.506, allocations: 16.25 kB / 0.7748 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.5063, allocations: 189 kB / 0.7749 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.5063, allocations: 0 / 0.7749 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0006197/0.507, allocations: 372.8 kB / 0.7753 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.507, allocations: 136.5 kB / 0.7754 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.5073, allocations: 268.1 kB / 0.7757 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.5074, allocations: 33.7 kB / 0.7757 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.5074, allocations: 136.6 kB / 0.7758 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.5075, allocations: 118.2 kB / 0.776 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.5076, allocations: 11.94 kB / 0.776 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5077, allocations: 338.8 kB / 0.7763 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5078, allocations: 75.95 kB / 0.7764 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.508, allocations: 135.2 kB / 0.7765 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5081, allocations: 101.8 kB / 0.7766 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5081, allocations: 0 / 0.7766 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004117/0.5086, allocations: 277 kB / 0.7768 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5086, allocations: 8 kB / 0.7769 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5086, allocations: 3.984 kB / 0.7769 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5086, allocations: 0 / 0.7769 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.5088, allocations: 67.86 kB / 0.7769 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.5089, allocations: 4 kB / 0.7769 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.509, allocations: 23.84 kB / 0.777 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.5091, allocations: 15.98 kB / 0.777 GB, free: 1.195 MB / 0.5417 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.0001635/0.5092, allocations: 165.5 kB / 0.7771 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.5093, allocations: 27.62 kB / 0.7771 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006712/0.51, allocations: 392.4 kB / 0.7775 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.51, allocations: 11.94 kB / 0.7775 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.51, allocations: 3.953 kB / 0.7775 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.51, allocations: 8.016 kB / 0.7775 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.5103, allocations: 349.3 kB / 0.7779 GB, free: 200 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5103, allocations: 0 / 0.7779 GB, free: 200 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.5105, allocations: 59.91 kB / 0.7779 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5105, allocations: 4 kB / 0.7779 GB, free: 136 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.5106, allocations: 11.98 kB / 0.778 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.5106, allocations: 0 / 0.778 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5106, allocations: 0 / 0.778 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.511, allocations: 330 kB / 0.7783 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.5112, allocations: 156.7 kB / 0.7784 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.5112, allocations: 8 kB / 0.7784 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.5114, allocations: 27.97 kB / 0.7785 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.5115, allocations: 31.91 kB / 0.7785 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.5115, allocations: 19.98 kB / 0.7785 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002111/0.5117, allocations: 220.4 kB / 0.7787 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5117, allocations: 0 / 0.7787 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003209/0.5121, allocations: 79.89 kB / 0.7788 GB, free: 15.22 MB / 0.5573 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.001509/0.5136, allocations: 1.164 MB / 0.7799 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.514, allocations: 232.1 kB / 0.7801 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.514, allocations: 0 / 0.7801 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.5142, allocations: 135.8 kB / 0.7803 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.5144, allocations: 28.42 kB / 0.7803 GB, free: 13.79 MB / 0.5573 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.002051/0.5165, allocations: 1.534 MB / 0.7818 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.5168, allocations: 0.7736 MB / 0.7826 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003464/0.5172, allocations: 151 kB / 0.7827 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.5174, allocations: 99.39 kB / 0.7828 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.5174, allocations: 3.938 kB / 0.7828 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3637/0.8811, allocations: 5.985 MB / 0.7886 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.8813, allocations: 242.1 kB / 0.7889 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.086/2.967, allocations: 7.938 kB / 0.7889 GB, free: 5.133 MB / 0.5573 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)