Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 195 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.278/2.278, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 64.97 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2111, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002055/0.2132, allocations: 1.529 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003178/0.2135, allocations: 187.4 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.937e-05/0.2136, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.2136, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.2138, allocations: 19.91 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.2139, allocations: 62.56 kB / 1.054 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.214, allocations: 55.78 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.2141, allocations: 4 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.2141, allocations: 19.98 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.2142, allocations: 23.91 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.2142, allocations: 0 / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.2142, allocations: 4 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.2142, allocations: 15.92 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.2143, allocations: 15.92 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.38e-05/0.2144, allocations: 56.08 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2144, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.41e-07/0.2144, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.766e-06/0.2144, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004081/0.2148, allocations: 351.4 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2148, allocations: 8.031 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.2149, allocations: 34.75 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.2149, allocations: 0.9375 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.576e-05/0.215, allocations: 176.2 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.215, allocations: 4.375 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.215, allocations: 4.375 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2152, allocations: 72.81 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2152, allocations: 3.938 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2152, allocations: 4 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.2152, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.2152, allocations: 15.98 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.2155, allocations: 284.8 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.737e-05/0.2156, allocations: 38.58 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.2156, allocations: 16.94 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2157, allocations: 0 / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.2158, allocations: 75.27 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.2158, allocations: 0 / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.216, allocations: 77.61 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.216, allocations: 102.8 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.2161, allocations: 101.9 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.2161, allocations: 29.7 kB / 1.055 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.2162, allocations: 88.03 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.2162, allocations: 11.84 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.2162, allocations: 21.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.2163, allocations: 326.8 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.2163, allocations: 8 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.2164, allocations: 38.75 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.2164, allocations: 24.98 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2164, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.955e-05/0.2165, allocations: 61.59 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.2165, allocations: 4 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2166, allocations: 32 / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.2166, allocations: 8 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.2166, allocations: 11.98 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.2166, allocations: 0 / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2167, allocations: 7.984 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2168, allocations: 4 kB / 1.056 GB, free: 4.02 MB / 0.8106 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.46e-05/0.2168, allocations: 121.7 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.2168, allocations: 0 / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.2169, allocations: 3.5 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2169, allocations: 8 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2169, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2169, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.781e-05/0.217, allocations: 173.6 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.217, allocations: 0 / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.217, allocations: 4 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.217, allocations: 0 / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.217, allocations: 0 / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.217, allocations: 0 / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.217, allocations: 3.984 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.2172, allocations: 96.97 kB / 1.056 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.2172, allocations: 96.97 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2172, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2173, allocations: 14.44 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.2174, allocations: 8.219 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2174, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.2174, allocations: 87.22 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2174, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001763/0.2176, allocations: 16 kB / 1.057 GB, free: 3.305 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003153/0.2179, allocations: 0.628 MB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.218, allocations: 35.92 kB / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.218, allocations: 0 / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.2181, allocations: 12 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2182, allocations: 12.73 kB / 1.057 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.2191, allocations: 1.174 MB / 1.058 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.2192, allocations: 0.677 MB / 1.059 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.2193, allocations: 8 kB / 1.059 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.2193, allocations: 15.38 kB / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2193, allocations: 0 / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/0.4751, allocations: 1.595 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.4754, allocations: 246.5 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/1.932, allocations: 3.938 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)