Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 177.4 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009144/0.0009149, allocations: 89.73 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 9.5 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2715, allocations: 106.4 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00168/0.2733, allocations: 1.156 MB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.2737, allocations: 175.5 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.2738, allocations: 4 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.2738, allocations: 3.938 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.274, allocations: 19.92 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.2742, allocations: 45.69 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.161e-05/0.2743, allocations: 51.84 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2744, allocations: 7.984 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.762e-05/0.2745, allocations: 19.92 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.2746, allocations: 19.92 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.2746, allocations: 0 / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.2746, allocations: 4 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.2747, allocations: 7.969 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.247e-05/0.2747, allocations: 45.64 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.141e-05/0.2748, allocations: 39.84 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2748, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2748, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2748, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 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.0004882/0.2753, allocations: 331.8 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2754, allocations: 8.031 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.2754, allocations: 34.75 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2755, allocations: 12.83 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2756, allocations: 168.4 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2756, allocations: 384 / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2756, allocations: 8.312 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.2758, allocations: 64.81 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.2758, allocations: 3.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2758, allocations: 4 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2758, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.2759, allocations: 19.98 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.2762, allocations: 264.9 kB / 0.9034 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.2763, allocations: 42.5 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.2764, allocations: 16.86 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.2764, allocations: 4 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.2766, allocations: 63.42 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.2766, allocations: 0 / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002144/0.2768, allocations: 77.52 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.2769, allocations: 110.8 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.2769, allocations: 105.8 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.277, allocations: 25.7 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.277, allocations: 88.14 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.277, allocations: 11.84 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.277, allocations: 0 / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.201e-05/0.2771, allocations: 318.8 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.2771, allocations: 8 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.2772, allocations: 35 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.2772, allocations: 36.86 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2772, allocations: 0 / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8e-05/0.2773, allocations: 65.62 kB / 0.9043 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2773, allocations: 4 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2773, allocations: 0 / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2773, allocations: 7.984 kB / 0.9043 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.2774, allocations: 4 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2774, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2776, allocations: 14.02 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.2776, allocations: 0 / 0.9044 GB, free: 59.6 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.2776, allocations: 121.8 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.2777, allocations: 7.984 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.2777, allocations: 7.5 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2777, allocations: 3.938 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2777, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2777, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.2778, allocations: 165.6 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2778, allocations: 0 / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.2778, allocations: 7.984 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2779, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2779, allocations: 8 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2779, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2779, allocations: 4 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.278, allocations: 88.95 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2781, allocations: 85.11 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.2781, allocations: 3.984 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2782, allocations: 11.94 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.2782, allocations: 7.984 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2783, allocations: 4 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.2783, allocations: 91.28 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2783, allocations: 3.938 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001879/0.2785, allocations: 16 kB / 0.905 GB, free: 58.88 MB / 0.6042 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.0003195/0.2788, allocations: 0.628 MB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2789, allocations: 27.94 kB / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2789, allocations: 0 / 0.9056 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.279, allocations: 19.98 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.2792, allocations: 3.188 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.28, allocations: 1.178 MB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.2802, allocations: 0.677 MB / 0.9074 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.2802, allocations: 8 kB / 0.9074 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2802, allocations: 15.44 kB / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2803, allocations: 0 / 0.9075 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.2915, allocations: 1.54 MB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.2917, allocations: 246.4 kB / 0.9092 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.126, allocations: 4.062 kB / 0.9092 GB, free: 54.58 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)