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.001356/0.001356, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.453/1.453, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.685/1.685, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001451/0.001451, allocations: 73.34 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2102, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002729/0.2129, allocations: 1.448 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004362/0.2134, allocations: 171.5 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.2135, allocations: 3.938 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2135, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.2137, allocations: 19.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.2139, allocations: 63.16 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2141, allocations: 51.8 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.2142, allocations: 11.97 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.2142, allocations: 15.98 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.2143, allocations: 19.92 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2143, allocations: 4 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.2143, allocations: 4 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.2144, allocations: 11.97 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.2144, allocations: 23.88 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.75e-05/0.2145, allocations: 52.08 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2146, allocations: 4 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2146, allocations: 0 / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2146, allocations: 0 / 0.7855 GB, free: 11.37 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.0005147/0.2151, allocations: 335.5 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2151, allocations: 8.031 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.2152, allocations: 42.73 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2152, allocations: 8.859 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.2154, allocations: 172.2 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.2154, allocations: 4.375 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2154, allocations: 4.375 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.2156, allocations: 68.75 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2156, allocations: 7.938 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2156, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2156, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.2157, allocations: 15.98 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.2161, allocations: 261 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.2162, allocations: 46.5 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.2162, allocations: 16.8 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.2162, allocations: 0 / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2164, allocations: 59.48 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2164, allocations: 4 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001948/0.2166, allocations: 81.58 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.2167, allocations: 106.8 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.2168, allocations: 109.8 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.2168, allocations: 29.64 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.2169, allocations: 84.14 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2169, allocations: 7.906 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.2169, allocations: 25.7 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.217, allocations: 318.8 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.2171, allocations: 11.98 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.2171, allocations: 30.58 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.2172, allocations: 32.78 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2172, allocations: 0 / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.394e-05/0.2173, allocations: 61.62 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2173, allocations: 4 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2173, allocations: 0 / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2173, allocations: 0 / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.2174, allocations: 12.03 kB / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2174, allocations: 0 / 0.7874 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2175, allocations: 11.89 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.2176, allocations: 7.984 kB / 0.7874 GB, free: 9.148 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 8.861e-05/0.2176, allocations: 121.7 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2177, allocations: 0 / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.2177, allocations: 11.48 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2177, allocations: 4 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2177, allocations: 4 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2177, allocations: 192 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2179, allocations: 170 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2179, allocations: 3.984 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.2179, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2179, allocations: 4 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2179, allocations: 11.98 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2179, allocations: 0 / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2179, allocations: 0 / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2181, allocations: 89 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.2181, allocations: 93 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2182, allocations: 0 / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2183, allocations: 11.98 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.2183, allocations: 3.984 kB / 0.7879 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2183, allocations: 8 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.2184, allocations: 79.28 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2184, allocations: 0 / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001861/0.2186, allocations: 12 kB / 0.788 GB, free: 8.434 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.0004582/0.219, allocations: 0.6319 MB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.2192, allocations: 31.92 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2192, allocations: 0 / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.2192, allocations: 23.92 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.2194, allocations: 8 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2205, allocations: 1.168 MB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2208, allocations: 0.6768 MB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.2208, allocations: 4 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.2209, allocations: 19.42 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2209, allocations: 0 / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.2377, allocations: 1.738 MB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.038, allocations: 13.34 kB / 0.7922 GB, free: 4.129 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)