Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.56/2.56, allocations: 284.9 MB / 292.4 MB, free: 10.62 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.0014/0.0014, allocations: 176.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001075/0.001075, allocations: 103.1 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.559e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8162/0.8163, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/1.044, allocations: 137.6 MB / 1.098 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.044, allocations: 80.5 kB / 1.098 GB, free: 2.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01215/1.056, allocations: 2.698 MB / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/1.056, allocations: 0 / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.056, allocations: 0.5 kB / 1.101 GB, free: 64 kB / 0.698 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.0004582/1.057, allocations: 339.5 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.057, allocations: 16.86 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/1.057, allocations: 8.047 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/1.057, allocations: 174.4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/1.057, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/1.057, allocations: 4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.734e-05/1.057, allocations: 8 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/1.058, allocations: 68.25 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.058, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/1.058, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/1.058, allocations: 1.25 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/1.058, allocations: 242.9 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/1.058, allocations: 35.17 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/1.058, allocations: 17.52 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/1.058, allocations: 0.6875 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/1.058, allocations: 64.72 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/1.058, allocations: 3.188 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002198/1.059, allocations: 62.16 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.192e-05/1.059, allocations: 111.4 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/1.059, allocations: 93.81 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/1.059, allocations: 25.7 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/1.059, allocations: 88.67 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/1.059, allocations: 7.844 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/1.059, allocations: 0.7188 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.059, allocations: 327.5 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/1.059, allocations: 4.5 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/1.059, allocations: 35.05 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/1.059, allocations: 12.67 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.059, allocations: 1.094 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/1.06, allocations: 57.58 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.06, allocations: 4 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.06, allocations: 6.188 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.06, allocations: 0 / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/1.06, allocations: 12.5 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.06, allocations: 0.5938 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.06, allocations: 12.77 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/1.06, allocations: 5.094 kB / 1.102 GB, free: 14.05 MB / 0.7136 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 (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.0001002/1.06, allocations: 110.8 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001379/1.06, allocations: 61.06 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/1.06, allocations: 4 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/1.06, allocations: 8.109 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.06, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.06, allocations: 3.938 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.06, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/1.06, allocations: 146.2 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.061, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/1.061, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.061, allocations: 0.9062 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.061, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.061, allocations: 2.094 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.061, allocations: 5.391 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.061, allocations: 92.98 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/1.061, allocations: 86.62 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/1.061, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/1.061, allocations: 7.984 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/1.061, allocations: 8 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.061, allocations: 3.984 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.196e-05/1.061, allocations: 79.28 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.061, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002644/1.062, allocations: 12 kB / 1.103 GB, free: 13.34 MB / 0.7136 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 (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.0004862/1.062, allocations: 0.628 MB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.062, allocations: 24 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.062, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/1.062, allocations: 19.88 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/1.062, allocations: 8.531 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/1.063, allocations: 112 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/1.063, allocations: 0.6809 MB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.945e-05/1.063, allocations: 11.97 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/1.063, allocations: 12.81 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.063, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/1.1, allocations: 1.146 MB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/1.1, allocations: 171 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.439, allocations: 0 / 1.106 GB, free: 10.47 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)