Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000917/0.000917, allocations: 171.4 kB / 325.8 MB, free: 2.715 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006311/0.0006312, allocations: 94.77 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 11.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001059/0.1308, allocations: 1.179 MB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.1311, allocations: 180.3 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.1311, allocations: 0 / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.1311, allocations: 7.938 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1313, allocations: 18.92 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.1315, allocations: 51.92 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.1315, allocations: 43.86 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.856e-05/0.1316, allocations: 7.984 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.1316, allocations: 23.92 kB / 0.8977 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.1317, allocations: 11.92 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1317, allocations: 4 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.1317, allocations: 4 kB / 0.8977 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.1317, allocations: 11.98 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.1318, allocations: 19.91 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.824e-05/0.1318, allocations: 35.88 kB / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1318, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1318, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.1319, allocations: 0 / 0.8978 GB, free: 66.5 MB / 0.6042 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.000314/0.1322, allocations: 339.5 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.1322, allocations: 12.03 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.1322, allocations: 30.75 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.1323, allocations: 8.844 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.436e-05/0.1323, allocations: 176.3 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1324, allocations: 384 / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.1324, allocations: 4.359 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/0.1325, allocations: 68.77 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.1325, allocations: 3.938 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1325, allocations: 4 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1325, allocations: 8 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.1325, allocations: 11.98 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.1328, allocations: 268.9 kB / 0.8986 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.69e-05/0.1329, allocations: 38.5 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.1329, allocations: 16.86 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.1329, allocations: 4 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.133, allocations: 67.45 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.133, allocations: 4 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001433/0.1332, allocations: 73.53 kB / 0.8988 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1332, allocations: 102.8 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.1333, allocations: 105.8 kB / 0.899 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.1333, allocations: 33.7 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.1333, allocations: 84.14 kB / 0.8992 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.1333, allocations: 8.766 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.1334, allocations: 17.66 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.923e-05/0.1334, allocations: 314.8 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.1334, allocations: 8 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.1335, allocations: 38.56 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.1335, allocations: 32.77 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1335, allocations: 0 / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.881e-05/0.1336, allocations: 61.59 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.1336, allocations: 6.188 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1336, allocations: 0 / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.1336, allocations: 4 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.1337, allocations: 7.984 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1337, allocations: 0 / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.507e-05/0.1338, allocations: 15.92 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1338, allocations: 4 kB / 0.8996 GB, free: 64.29 MB / 0.6042 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 4.523e-05/0.1338, allocations: 121.7 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.1339, allocations: 4 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.38e-05/0.1339, allocations: 7.5 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1339, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1339, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1339, allocations: 0 / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.845e-05/0.134, allocations: 170 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.134, allocations: 0 / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.134, allocations: 8 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.134, allocations: 4 kB / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.134, allocations: 0 / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.134, allocations: 7.938 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.134, allocations: 0 / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.1341, allocations: 92.95 kB / 0.9 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.1341, allocations: 89.09 kB / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1342, allocations: 0 / 0.9001 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.1343, allocations: 15.98 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.1343, allocations: 7.938 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1343, allocations: 3.984 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.226e-05/0.1343, allocations: 83.28 kB / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1343, allocations: 0 / 0.9002 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001563/0.1345, allocations: 16 kB / 0.9003 GB, free: 63.57 MB / 0.6042 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.000206/0.1347, allocations: 0.628 MB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.591e-05/0.1348, allocations: 31.92 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1348, allocations: 0 / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.1348, allocations: 16 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.135, allocations: 3.188 kB / 0.9009 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.1356, allocations: 1.178 MB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.1356, allocations: 0.6809 MB / 0.9027 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.1357, allocations: 8.078 kB / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.1357, allocations: 11.44 kB / 0.9027 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1357, allocations: 0 / 0.9027 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2569/0.3926, allocations: 1.538 MB / 0.9042 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.3928, allocations: 241.7 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.936, allocations: 3.094 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)