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.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001099/0.001099, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.133/1.133, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.484/1.484, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001305/0.001305, allocations: 66.61 kB / 0.6711 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1619, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002333/0.1643, allocations: 1.497 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.1646, allocations: 184.5 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.1647, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.1647, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.1649, allocations: 19.91 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.1651, allocations: 55.92 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.1651, allocations: 51.78 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.126e-05/0.1652, allocations: 8 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.1653, allocations: 23.97 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.1653, allocations: 15.92 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1653, allocations: 4 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.1654, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.1654, allocations: 11.98 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.1654, allocations: 19.92 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.272e-05/0.1655, allocations: 44.09 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1655, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1655, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1655, allocations: 0 / 0.7849 GB, free: 11.86 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.0004155/0.1659, allocations: 347.5 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.166, allocations: 12.03 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.166, allocations: 34.69 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.1661, allocations: 4.938 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1662, allocations: 172.2 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1662, allocations: 8.312 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.1662, allocations: 4.375 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1663, allocations: 64.81 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1663, allocations: 3.938 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1663, allocations: 3.938 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1664, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.1664, allocations: 27.92 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.1667, allocations: 260.9 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.1668, allocations: 42.5 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.1669, allocations: 12.86 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.1669, allocations: 4 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.167, allocations: 67.42 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.167, allocations: 0 / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.00017/0.1672, allocations: 77.58 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.1673, allocations: 102.8 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.193e-05/0.1673, allocations: 109.8 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1674, allocations: 29.7 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.1674, allocations: 84.14 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.1674, allocations: 3.906 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1675, allocations: 25.7 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.1675, allocations: 318.8 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.09e-05/0.1676, allocations: 11.98 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.1676, allocations: 38.5 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.1677, allocations: 24.8 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1677, allocations: 4 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.779e-05/0.1678, allocations: 53.69 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1678, allocations: 8.031 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1678, allocations: 4 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.1678, allocations: 0 / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.1679, allocations: 4 kB / 0.7867 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1679, allocations: 3.938 kB / 0.7867 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.168, allocations: 19.89 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.168, allocations: 0 / 0.7868 GB, free: 9.637 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.125e-05/0.1681, allocations: 117.8 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.1681, allocations: 7.984 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.685e-05/0.1681, allocations: 11.62 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1682, allocations: 3.984 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1682, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1682, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.1683, allocations: 173.5 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1683, allocations: 448 / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.1683, allocations: 7.984 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1683, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1683, allocations: 4 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1683, allocations: 0 / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1683, allocations: 4 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1685, allocations: 96.94 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.1685, allocations: 85 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1685, allocations: 4 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1686, allocations: 11.98 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.1687, allocations: 3.984 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1687, allocations: 4 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.1687, allocations: 87.28 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000178/0.1689, allocations: 12 kB / 0.7874 GB, free: 8.914 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.0003395/0.1693, allocations: 0.6202 MB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.1694, allocations: 31.92 kB / 0.788 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1694, allocations: 12 kB / 0.788 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.654e-05/0.1694, allocations: 15.98 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1696, allocations: 4 kB / 0.788 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.1704, allocations: 1.172 MB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1706, allocations: 0.6807 MB / 0.7898 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.1707, allocations: 4 kB / 0.7898 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1707, allocations: 15.42 kB / 0.7899 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1707, allocations: 4 kB / 0.7899 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/0.3718, allocations: 1.644 MB / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.372, allocations: 227.7 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.907, allocations: 0 / 0.7917 GB, free: 4.496 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)