Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_9_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.004353/0.004353, allocations: 102.1 kB / 15.73 MB, free: 6.051 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.00118/0.00118, allocations: 195.7 kB / 16.67 MB, free: 5.98 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.03 kB / 0.9504 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.223, allocations: 140.4 MB / 1.087 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002298/0.2253, allocations: 1.449 MB / 1.089 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003285/0.2257, allocations: 188.8 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.2257, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.2257, allocations: 3.938 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.2259, allocations: 27.84 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.2261, allocations: 58.91 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.2261, allocations: 59.78 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.011e-05/0.2262, allocations: 7.984 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.2263, allocations: 19.98 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.2263, allocations: 27.91 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2264, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2264, allocations: 7.938 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.2264, allocations: 15.92 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.2265, allocations: 19.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.2266, allocations: 54.67 kB / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2266, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2266, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2266, allocations: 0 / 1.089 GB, free: 152 kB / 0.8419 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.000466/0.2271, allocations: 348.2 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2271, allocations: 8.031 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.2271, allocations: 38.75 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.2272, allocations: 4.938 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2273, allocations: 172.3 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2273, allocations: 4.375 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2273, allocations: 4.375 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.2275, allocations: 76.75 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2275, allocations: 3.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2275, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2275, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.152e-05/0.2276, allocations: 20 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.2279, allocations: 272.9 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.228, allocations: 46.5 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.228, allocations: 16.8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.228, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.2282, allocations: 67.42 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2282, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000187/0.2284, allocations: 81.52 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.2284, allocations: 106.8 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.2285, allocations: 105.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2285, allocations: 25.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.2286, allocations: 84.08 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.2286, allocations: 11.91 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.2287, allocations: 25.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.2287, allocations: 318.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.2288, allocations: 11.98 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.2288, allocations: 26.58 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.2289, allocations: 32.84 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2289, allocations: 3.938 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001104/0.229, allocations: 61.59 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.229, allocations: 8.031 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.229, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2291, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.2291, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2291, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.2292, allocations: 7.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2293, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 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 8.135e-05/0.2294, allocations: 117.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.2294, allocations: 4.438 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.2294, allocations: 7.688 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2294, allocations: 11.97 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2294, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2294, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2295, allocations: 173.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2295, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.2296, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.2296, allocations: 3.984 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2296, allocations: 7.938 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2296, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2296, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2297, allocations: 92.97 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.2298, allocations: 85.09 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2298, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2299, allocations: 7.984 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.23, allocations: 11.98 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.23, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.23, allocations: 83.28 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.23, allocations: 3.938 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001943/0.2302, allocations: 16 kB / 1.092 GB, free: 13.19 MB / 0.8575 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.0003762/0.2306, allocations: 0.6323 MB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.2307, allocations: 31.98 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2307, allocations: 4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/0.2308, allocations: 19.92 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.2309, allocations: 10.81 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/0.2319, allocations: 1.172 MB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.2322, allocations: 0.6807 MB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.2322, allocations: 7.984 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.2322, allocations: 11.44 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2323, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.969/2.201, allocations: 1.773 MB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/10.48, allocations: 15.84 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)