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.437/1.437, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001293/0.001293, allocations: 182.2 kB / 326.5 MB, free: 2.234 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.158/2.158, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009724/0.0009722, allocations: 98.33 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 9.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2531, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00162/0.2548, allocations: 1.148 MB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003468/0.2552, allocations: 155.7 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.2552, allocations: 0 / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.2552, allocations: 7.938 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.2554, allocations: 23.91 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.2556, allocations: 45.92 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.2557, allocations: 27.97 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.2558, allocations: 11.86 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.2558, allocations: 19.98 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.2559, allocations: 11.92 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.2559, allocations: 4 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.256, allocations: 4 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.256, allocations: 15.97 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.256, allocations: 29.7 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.49e-05/0.2561, allocations: 23.95 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2561, allocations: 0 / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2561, allocations: 0 / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2561, allocations: 0 / 0.9016 GB, free: 62.82 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.0004429/0.2566, allocations: 335.6 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2566, allocations: 16.03 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.2567, allocations: 34.5 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.2567, allocations: 7.906 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.2568, allocations: 171 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2568, allocations: 8 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2569, allocations: 0 / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.257, allocations: 64.25 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.257, allocations: 0 / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.257, allocations: 8 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.257, allocations: 0 / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.2571, allocations: 15.94 kB / 0.9023 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.2574, allocations: 268.9 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.2575, allocations: 34.56 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2575, allocations: 0 / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.2577, allocations: 71.42 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2577, allocations: 0 / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.2579, allocations: 77.52 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2579, allocations: 106.8 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.638e-05/0.258, allocations: 109.8 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.258, allocations: 29.7 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.2581, allocations: 80.14 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.2581, allocations: 19.83 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2581, allocations: 4 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.2581, allocations: 318.8 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.2582, allocations: 8 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.2582, allocations: 38.5 kB / 0.9034 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.2583, allocations: 8.844 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2583, allocations: 0 / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.093e-05/0.2584, allocations: 65.72 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2584, allocations: 4 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2584, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2584, allocations: 0 / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.2585, allocations: 8 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2585, allocations: 0 / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2586, allocations: 18.94 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2586, allocations: 3.953 kB / 0.9035 GB, free: 60.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.2587, allocations: 125.8 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.2587, allocations: 0 / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.2587, allocations: 7.5 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2587, allocations: 0 / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2587, allocations: 448 / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2588, allocations: 0 / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.2589, allocations: 169.6 kB / 0.9038 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2589, allocations: 7.984 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.2589, allocations: 4 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2589, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.2589, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2589, allocations: 4 kB / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2589, allocations: 0 / 0.9038 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.259, allocations: 93.06 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.2591, allocations: 85.02 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.2591, allocations: 11.92 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2592, allocations: 8 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.2593, allocations: 7.984 kB / 0.904 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2593, allocations: 4 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.2593, allocations: 87.27 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2593, allocations: 0 / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001817/0.2595, allocations: 8 kB / 0.9041 GB, free: 59.96 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 (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.0003272/0.2599, allocations: 0.6321 MB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.26, allocations: 39.91 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.26, allocations: 0 / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.26, allocations: 15.98 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.2602, allocations: 4 kB / 0.9048 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.2608, allocations: 406.3 kB / 0.9051 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.261, allocations: 0.6809 MB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.261, allocations: 7.984 kB / 0.9058 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.2611, allocations: 11.44 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2611, allocations: 0 / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2746, allocations: 1.503 MB / 0.9073 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.2749, allocations: 227.3 kB / 0.9075 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/1.819, allocations: 0 / 0.9075 GB, free: 56.51 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)