Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_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.0008458/0.0008458, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004417/0.004417, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.51/1.51, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004448/0.0004448, allocations: 12.66 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001261/0.161, allocations: 1.167 MB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.1613, allocations: 184.5 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.1614, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1614, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1615, allocations: 15.88 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1617, allocations: 59.86 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.1618, allocations: 51.78 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.4e-05/0.1618, allocations: 7.984 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.959e-05/0.1619, allocations: 16 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.162, allocations: 15.91 kB / 0.7895 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.162, allocations: 4 kB / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.162, allocations: 0 / 0.7895 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.162, allocations: 11.98 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1621, allocations: 41.62 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.765e-05/0.1621, allocations: 48.08 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1621, allocations: 0 / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1621, allocations: 0 / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.1622, allocations: 0 / 0.7896 GB, free: 9.867 MB / 0.6075 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.0003713/0.1625, allocations: 335.5 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1626, allocations: 12.03 kB / 0.7899 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.1626, allocations: 34.69 kB / 0.7899 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.1626, allocations: 4.938 kB / 0.7899 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.1627, allocations: 176.2 kB / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1628, allocations: 8.375 kB / 0.7901 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.1628, allocations: 4.312 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1629, allocations: 64.81 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.1629, allocations: 3.938 kB / 0.7902 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1629, allocations: 4 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.1629, allocations: 0 / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.163, allocations: 15.94 kB / 0.7902 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.1633, allocations: 268.9 kB / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.1634, allocations: 34.52 kB / 0.7905 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.1634, allocations: 20.94 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.1634, allocations: 0 / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.1636, allocations: 71.33 kB / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1636, allocations: 0 / 0.7906 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001581/0.1637, allocations: 65.69 kB / 0.7906 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1638, allocations: 110.8 kB / 0.7907 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.1639, allocations: 101.9 kB / 0.7908 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1639, allocations: 29.7 kB / 0.7909 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.1639, allocations: 80.14 kB / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.1639, allocations: 15.8 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.164, allocations: 17.72 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.164, allocations: 310.8 kB / 0.7913 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.1641, allocations: 15.98 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.1641, allocations: 30.52 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.1642, allocations: 40.72 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1642, allocations: 0 / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.627e-05/0.1643, allocations: 53.7 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1643, allocations: 10.67 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1643, allocations: 4.438 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.1643, allocations: 0 / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.1644, allocations: 8.188 kB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1644, allocations: 7.922 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1645, allocations: 15.98 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1645, allocations: 0 / 0.7915 GB, free: 7.664 MB / 0.6075 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.308e-05/0.1646, allocations: 117.8 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1646, allocations: 11.89 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.1646, allocations: 11.5 kB / 0.7916 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1646, allocations: 3.938 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1647, allocations: 3.984 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1647, allocations: 0 / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.1648, allocations: 173.5 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1648, allocations: 0 / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.1648, allocations: 4 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1648, allocations: 0 / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1648, allocations: 0 / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1648, allocations: 3.984 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1648, allocations: 4 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.1649, allocations: 93 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.165, allocations: 89 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.165, allocations: 4 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.1651, allocations: 11.98 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.1652, allocations: 3.984 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1652, allocations: 8 kB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.454e-05/0.1652, allocations: 83.28 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001735/0.1654, allocations: 8 kB / 0.7921 GB, free: 6.941 MB / 0.6075 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.0003076/0.1657, allocations: 0.6281 MB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.804e-05/0.1658, allocations: 35.92 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1658, allocations: 0 / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.1659, allocations: 15.98 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.166, allocations: 6.438 kB / 0.7927 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.1668, allocations: 1.168 MB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.167, allocations: 0.6848 MB / 0.7945 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.167, allocations: 11.98 kB / 0.7945 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.1671, allocations: 19.44 kB / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1671, allocations: 0 / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/0.3273, allocations: 1.511 MB / 0.796 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.3276, allocations: 233.9 kB / 0.7963 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.642, allocations: 3.281 kB / 0.7963 GB, free: 2.648 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)