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.0008604/0.0008604, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004894/0.004894, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.383/2.383, allocations: 462.6 MB / 0.7364 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 9.875 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 159.6 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001305/0.2215, allocations: 1.19 MB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.2218, allocations: 178.5 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.2219, allocations: 0 / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.2219, allocations: 0 / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2221, allocations: 23.91 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.2222, allocations: 47.88 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.225e-05/0.2223, allocations: 55.84 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.2224, allocations: 8 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.2225, allocations: 27.91 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.2225, allocations: 11.92 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2225, allocations: 4 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.2226, allocations: 4 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.2226, allocations: 11.92 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.2226, allocations: 49.61 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.339e-05/0.2227, allocations: 44.09 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2227, allocations: 0 / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2227, allocations: 7.938 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2228, allocations: 0 / 1.06 GB, free: 3.133 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.0003922/0.2231, allocations: 337.1 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2232, allocations: 11.97 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.2232, allocations: 38.75 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.2233, allocations: 8.828 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2234, allocations: 168.4 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.2234, allocations: 4.375 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2234, allocations: 12.31 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2236, allocations: 68.81 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2236, allocations: 3.938 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2236, allocations: 4 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2236, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.2236, allocations: 15.98 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.224, allocations: 280.8 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.224, allocations: 38.56 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.2241, allocations: 16.86 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.2241, allocations: 0 / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.2242, allocations: 67.45 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2242, allocations: 4 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000175/0.2244, allocations: 73.62 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.2245, allocations: 106.8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.2246, allocations: 109.8 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2246, allocations: 25.7 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.2246, allocations: 88.05 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2246, allocations: 15.83 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.2247, allocations: 9.719 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.2248, allocations: 322.8 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.2248, allocations: 12 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.2248, allocations: 34.81 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.2249, allocations: 32.78 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2249, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.972e-05/0.225, allocations: 57.7 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.225, allocations: 4 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.225, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.225, allocations: 4.016 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.2251, allocations: 12 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.2251, allocations: 0 / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2252, allocations: 13.81 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2252, allocations: 0 / 1.062 GB, free: 0.9062 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.373e-05/0.2253, allocations: 121.7 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.2253, allocations: 11.84 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.597e-05/0.2254, allocations: 3.5 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2254, allocations: 4 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2254, allocations: 0 / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2254, allocations: 3.984 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.2255, allocations: 169.6 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2255, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.2255, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2255, allocations: 0 / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2255, allocations: 3.984 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2255, allocations: 4 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2256, allocations: 0 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.2257, allocations: 89.06 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.2257, allocations: 93 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2257, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2259, allocations: 16.11 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.2259, allocations: 11.92 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.2259, allocations: 4 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.2259, allocations: 83.28 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.226, allocations: 4 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000183/0.2261, allocations: 12 kB / 1.063 GB, free: 188 kB / 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.0003337/0.2265, allocations: 0.6241 MB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.623e-05/0.2266, allocations: 35.92 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2266, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.2266, allocations: 19.98 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.2268, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.2277, allocations: 1.172 MB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.2279, allocations: 0.681 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.2279, allocations: 12.02 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2279, allocations: 15.44 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.2279, allocations: 0 / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2983/0.5263, allocations: 1.542 MB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.5265, allocations: 233.5 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.007, allocations: 0 / 1.067 GB, free: 11.88 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)