Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.756/1.756, allocations: 288.4 MB / 303.3 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 172.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.904/1.904, allocations: 205.4 MB / 0.6307 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.0009148, allocations: 99.62 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 11 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.269, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001703/0.2707, allocations: 1.148 MB / 0.9808 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004546/0.2712, allocations: 171.6 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.2713, allocations: 0 / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.2713, allocations: 0 / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.2716, allocations: 17.38 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2718, allocations: 49.17 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.2719, allocations: 47.83 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.272, allocations: 3.938 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.2721, allocations: 23.92 kB / 0.9811 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2722, allocations: 19.98 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.2722, allocations: 0 / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.2723, allocations: 4 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.2723, allocations: 7.922 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.2723, allocations: 37.69 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.638e-05/0.2724, allocations: 24.17 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.2724, allocations: 4 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2724, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2724, allocations: 0 / 0.9812 GB, free: 26.01 MB / 0.6198 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.0004994/0.2729, allocations: 339.3 kB / 0.9815 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.273, allocations: 8.031 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.2731, allocations: 34.56 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.2731, allocations: 7.984 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2733, allocations: 167 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.2733, allocations: 7.984 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2733, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.2735, allocations: 68.2 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2736, allocations: 4 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.2736, allocations: 0 / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2736, allocations: 3.984 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.278e-05/0.2737, allocations: 12 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/0.2742, allocations: 268.8 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2743, allocations: 47.38 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.2743, allocations: 16.95 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2744, allocations: 3.984 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.2745, allocations: 59.39 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.2745, allocations: 0 / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000223/0.2748, allocations: 73.62 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.2748, allocations: 106.8 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.2749, allocations: 105.8 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2749, allocations: 29.7 kB / 0.9825 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.275, allocations: 80.14 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.275, allocations: 23.78 kB / 0.9826 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2751, allocations: 3.938 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/0.2751, allocations: 314.8 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.2752, allocations: 8 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.2752, allocations: 42.81 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.2753, allocations: 16.06 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2753, allocations: 0 / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001037/0.2754, allocations: 61.62 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2754, allocations: 5.406 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2754, allocations: 0 / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2754, allocations: 0 / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.2755, allocations: 11.98 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2755, allocations: 0 / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.2757, allocations: 16.03 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2757, allocations: 3.984 kB / 0.983 GB, free: 23.84 MB / 0.6198 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 8.226e-05/0.2758, allocations: 119.1 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.2758, allocations: 0 / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.2758, allocations: 11.5 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2758, allocations: 0 / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2758, allocations: 0 / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2758, allocations: 0 / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.276, allocations: 181.6 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.276, allocations: 4 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.276, allocations: 7.938 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.276, allocations: 3.984 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.276, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.276, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.276, allocations: 0 / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2762, allocations: 93.06 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.2762, allocations: 81.09 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.2763, allocations: 8 kB / 0.9835 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2764, allocations: 11.98 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.2764, allocations: 4 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2764, allocations: 4 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.2765, allocations: 87.33 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2765, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001911/0.2767, allocations: 12 kB / 0.9836 GB, free: 23.12 MB / 0.6198 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.0003145/0.277, allocations: 0.6357 MB / 0.9842 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.2771, allocations: 31.98 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2771, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.2772, allocations: 15.94 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2774, allocations: 10.23 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.278, allocations: 394.6 kB / 0.9847 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2781, allocations: 0.6848 MB / 0.9853 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.2782, allocations: 7.984 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.2782, allocations: 15.44 kB / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.2782, allocations: 0 / 0.9854 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.2914, allocations: 1.529 MB / 0.9869 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.2917, allocations: 234.1 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.914, allocations: 0 / 0.9871 GB, free: 19.66 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)