Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.465/1.465, 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.001282/0.001282, allocations: 177.8 kB / 326.5 MB, free: 2.219 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.101/2.101, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009109/0.0009108, allocations: 89.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003755, allocations: 11.62 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2686, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.4632, allocations: 132.3 MB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.4635, allocations: 79.95 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007812/0.4714, allocations: 2.726 MB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4714, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.4714, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004715/0.4719, allocations: 353 kB / 1.032 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.472, allocations: 8.031 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.472, allocations: 34.5 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.4721, allocations: 11.89 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4722, allocations: 171 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4722, allocations: 4 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.4723, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4724, allocations: 68.25 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4724, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4724, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4725, allocations: 4 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.4725, allocations: 15.92 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.4729, allocations: 260.9 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.478e-05/0.473, allocations: 42.56 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.4731, allocations: 0 / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.4732, allocations: 59.42 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4733, allocations: 4 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002378/0.4735, allocations: 69.67 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.4736, allocations: 110.8 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.4737, allocations: 101 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.4737, allocations: 25.7 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.4738, allocations: 87.98 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.4738, allocations: 19.83 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.4738, allocations: 0 / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.474, allocations: 314.8 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.474, allocations: 11.98 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-05/0.4741, allocations: 42.75 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.4742, allocations: 16.12 kB / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4742, allocations: 0 / 1.034 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.4743, allocations: 57.69 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4743, allocations: 7.938 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4743, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4743, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.4744, allocations: 8 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.4744, allocations: 0 / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4746, allocations: 16.02 kB / 1.034 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.4746, allocations: 0 / 1.034 GB, free: 6.434 MB / 0.6823 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 (5): * Single equations (assignments): 5 * 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.0001245/0.4747, allocations: 121.7 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.4747, allocations: 7.906 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.4748, allocations: 7.5 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4748, allocations: 192 / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4748, allocations: 0 / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4748, allocations: 11.97 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.475, allocations: 165.6 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.475, allocations: 0 / 1.034 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.475, allocations: 4 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.475, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.475, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.475, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.475, allocations: 3.984 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.4752, allocations: 93.02 kB / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.4753, allocations: 97 kB / 1.034 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4753, allocations: 0 / 1.034 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4754, allocations: 11.98 kB / 1.034 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4755, allocations: 0 / 1.034 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4755, allocations: 7.984 kB / 1.034 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.4756, allocations: 87.34 kB / 1.034 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4756, allocations: 0 / 1.034 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002211/0.4758, allocations: 12 kB / 1.034 GB, free: 5.715 MB / 0.6823 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 (4): * Single equations (assignments): 3 * 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.000532/0.4763, allocations: 0.6281 MB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.4765, allocations: 31.92 kB / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4765, allocations: 0 / 1.035 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.4765, allocations: 19.94 kB / 1.035 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.4767, allocations: 7.922 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.4775, allocations: 413 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.4778, allocations: 0.677 MB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.4778, allocations: 8 kB / 1.036 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.4778, allocations: 15.42 kB / 1.036 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4779, allocations: 0 / 1.036 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.4925, allocations: 1.497 MB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.4928, allocations: 219.1 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.03, allocations: 0 / 1.038 GB, free: 2.277 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)