Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001146/0.001146, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.388/2.388, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 69.23 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2234, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002417/0.2258, allocations: 1.52 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.2262, allocations: 183.5 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.2262, allocations: 0 / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.2263, allocations: 0 / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.2265, allocations: 19.86 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.2267, allocations: 59.86 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.2268, allocations: 55.84 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.2268, allocations: 4 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.2269, allocations: 23.92 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.227, allocations: 19.91 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.227, allocations: 4 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.227, allocations: 4 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.227, allocations: 7.984 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.2271, allocations: 19.92 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.272e-05/0.2272, allocations: 48.08 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2272, allocations: 4 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2272, allocations: 0 / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2272, allocations: 0 / 1.054 GB, free: 6.262 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.0004506/0.2276, allocations: 355.4 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2277, allocations: 8.031 kB / 1.054 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.2277, allocations: 34.73 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.2278, allocations: 4.938 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2279, allocations: 176.2 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.2279, allocations: 384 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2279, allocations: 8.375 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.228, allocations: 72.81 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.228, allocations: 3.938 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2281, allocations: 4 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2281, allocations: 7.938 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/0.2281, allocations: 23.91 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.2284, allocations: 268.9 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/0.2285, allocations: 38.56 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.2286, allocations: 16.86 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2286, allocations: 4.078 kB / 1.055 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.2287, allocations: 71.31 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2287, allocations: 4 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.2289, allocations: 65.69 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.229, allocations: 102.8 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.2291, allocations: 105.8 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2291, allocations: 29.7 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.2291, allocations: 88.05 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2292, allocations: 11.83 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.2292, allocations: 21.72 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.2293, allocations: 326.8 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.2293, allocations: 11.94 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-05/0.2294, allocations: 34.56 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.2294, allocations: 24.86 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2294, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.625e-05/0.2295, allocations: 61.59 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2296, allocations: 4 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2296, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.2296, allocations: 4.031 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.2296, allocations: 12.38 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2297, allocations: 3.984 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.2298, allocations: 13.56 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2298, allocations: 0 / 1.056 GB, free: 4.012 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 7.007e-05/0.2299, allocations: 117.8 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.2299, allocations: 8 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.2299, allocations: 3.5 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2299, allocations: 7.938 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2299, allocations: 0 / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2299, allocations: 0 / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.23, allocations: 181.5 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.23, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.2301, allocations: 0 / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2301, allocations: 4 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2301, allocations: 0 / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2301, allocations: 0 / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2301, allocations: 0 / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.2302, allocations: 100.9 kB / 1.056 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.2303, allocations: 85.09 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2303, allocations: 4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2304, allocations: 11.98 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.2304, allocations: 240 / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2304, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.2305, allocations: 87.27 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2305, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001796/0.2307, allocations: 16 kB / 1.057 GB, free: 3.297 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.0003369/0.231, allocations: 0.6241 MB / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.2311, allocations: 35.92 kB / 1.057 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2311, allocations: 4 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.2312, allocations: 12 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.2313, allocations: 8 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.2322, allocations: 1.186 MB / 1.058 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2324, allocations: 0.6794 MB / 1.059 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.2324, allocations: 8 kB / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.2325, allocations: 11.53 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2325, allocations: 3.938 kB / 1.059 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2343/0.4668, allocations: 1.607 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.467, allocations: 255.8 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.172, allocations: 4 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)