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.0007134/0.0007135, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008949/0.0008949, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.4 MB / 222.1 MB, free: 5.898 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.531/1.531, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0004468/0.0004469, allocations: 16.56 kB / 0.6738 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001182/0.1675, allocations: 1.151 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.1678, allocations: 164.7 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.1679, allocations: 4 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.1679, allocations: 7.922 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1681, allocations: 23.92 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.1682, allocations: 43.92 kB / 0.7888 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.1683, allocations: 39.86 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.1684, allocations: 7.984 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.1684, allocations: 19.92 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.1685, allocations: 15.92 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1685, allocations: 4 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.1685, allocations: 4 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1685, allocations: 7.984 kB / 0.7889 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.1686, allocations: 33.64 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.846e-05/0.1686, allocations: 40.14 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1686, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1686, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.1686, allocations: 0 / 0.7889 GB, free: 10.29 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.000392/0.169, allocations: 339.3 kB / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1691, allocations: 8.031 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.1691, allocations: 34.55 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.1692, allocations: 4 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1693, allocations: 174.9 kB / 0.7895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1693, allocations: 4 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.1693, allocations: 0 / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.1694, allocations: 68.19 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1694, allocations: 4 kB / 0.7895 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1694, allocations: 4 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1694, allocations: 4 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.1695, allocations: 11.98 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1698, allocations: 260.9 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.1699, allocations: 46.5 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.754e-05/0.1699, allocations: 16.86 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.17, allocations: 0 / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.1701, allocations: 67.47 kB / 0.7899 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.1701, allocations: 0 / 0.7899 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001603/0.1703, allocations: 77.55 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1703, allocations: 106.8 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.1704, allocations: 109.8 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1704, allocations: 29.7 kB / 0.7902 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.1705, allocations: 80.14 kB / 0.7903 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.1705, allocations: 11.81 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.1705, allocations: 4 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.1706, allocations: 318.8 kB / 0.7906 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.1706, allocations: 8 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.1707, allocations: 34.56 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.606e-05/0.1707, allocations: 12.03 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1707, allocations: 0 / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.612e-05/0.1708, allocations: 66 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.1708, allocations: 4 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1708, allocations: 3.938 kB / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.1708, allocations: 0 / 0.7907 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.1709, allocations: 12.06 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1709, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.523e-05/0.171, allocations: 15.98 kB / 0.7908 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.171, allocations: 0 / 0.7908 GB, free: 8.125 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/0.1711, allocations: 117.8 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.1711, allocations: 11.89 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.1711, allocations: 3.5 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1711, allocations: 0 / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1711, allocations: 0 / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1711, allocations: 0 / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/0.1712, allocations: 173.5 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1712, allocations: 0 / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1713, allocations: 11.98 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1713, allocations: 0 / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1713, allocations: 0 / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1713, allocations: 0 / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1713, allocations: 3.938 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.1714, allocations: 89.08 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1715, allocations: 89.09 kB / 0.7913 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1715, allocations: 3.938 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.1716, allocations: 15.98 kB / 0.7913 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.1716, allocations: 3.984 kB / 0.7913 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1717, allocations: 4 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.1717, allocations: 83.28 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1717, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001769/0.1719, allocations: 11.98 kB / 0.7914 GB, free: 7.414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003486/0.1722, allocations: 0.6396 MB / 0.792 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.1723, allocations: 24 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1723, allocations: 0 / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.1724, allocations: 23.91 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1725, allocations: 6.25 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.1731, allocations: 400.1 kB / 0.7924 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.1733, allocations: 0.6848 MB / 0.7931 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.1733, allocations: 8.078 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.1733, allocations: 15.42 kB / 0.7931 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1733, allocations: 0 / 0.7931 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.1844, allocations: 1.52 MB / 0.7946 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.1846, allocations: 210.6 kB / 0.7948 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.439/1.624, allocations: 3.938 kB / 0.7948 GB, free: 3.953 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/linux/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) Environment - environmentSimulation: