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.431/1.431, allocations: 252 MB / 267 MB, free: 10.98 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.001132/0.001132, allocations: 186.9 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 0.5777 GB, free: 20.53 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.0009113/0.0009113, allocations: 91.77 kB / 0.6823 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 12.42 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 106.3 MB / 0.9003 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001541/0.2553, allocations: 1.152 MB / 0.9014 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000367/0.2557, allocations: 167.6 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.2557, allocations: 4 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.2558, allocations: 7.875 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.256, allocations: 19.91 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.2562, allocations: 43.94 kB / 0.9017 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.2563, allocations: 43.84 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.2564, allocations: 4 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.2564, allocations: 19.98 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.168e-05/0.2565, allocations: 19.91 kB / 0.9017 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2565, allocations: 8 kB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.2566, allocations: 0 / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.2566, allocations: 7.984 kB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2566, allocations: 33.64 kB / 0.9018 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.375e-05/0.2567, allocations: 23.95 kB / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2567, allocations: 0 / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2567, allocations: 0 / 0.9018 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2567, allocations: 0 / 0.9018 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.000447/0.2572, allocations: 339.6 kB / 0.9021 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2572, allocations: 12.03 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.2573, allocations: 30.56 kB / 0.9022 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.2573, allocations: 3.906 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.2574, allocations: 175 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2574, allocations: 3.984 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.2574, allocations: 4 kB / 0.9024 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.2576, allocations: 72.19 kB / 0.9024 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2576, allocations: 7.938 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2576, allocations: 0 / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2576, allocations: 0 / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.2577, allocations: 12 kB / 0.9024 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.258, allocations: 272.9 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/0.2581, allocations: 42.52 kB / 0.9027 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.2582, allocations: 16.94 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.2582, allocations: 4 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.2583, allocations: 59.39 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.2584, allocations: 0 / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001841/0.2585, allocations: 73.58 kB / 0.9029 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.2586, allocations: 106.8 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.2587, allocations: 113.8 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.2587, allocations: 25.7 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.2587, allocations: 88.12 kB / 0.9032 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.2587, allocations: 11.84 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.2588, allocations: 0 / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.2588, allocations: 314.8 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.2588, allocations: 11.98 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.2589, allocations: 30.52 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.2589, allocations: 20.41 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2589, allocations: 0 / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.663e-05/0.259, allocations: 61.62 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.259, allocations: 8 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2591, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2591, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.2591, allocations: 7.984 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2592, allocations: 0 / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2593, allocations: 25.67 kB / 0.9037 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.2593, allocations: 4 kB / 0.9037 GB, free: 60.64 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 7.513e-05/0.2594, allocations: 113.8 kB / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.2594, allocations: 0 / 0.9038 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2594, allocations: 7.5 kB / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2594, allocations: 4 kB / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2594, allocations: 0 / 0.9038 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2594, allocations: 3.938 kB / 0.9038 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.2595, allocations: 169.6 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2596, allocations: 4 kB / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.2596, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2596, allocations: 0 / 0.904 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2596, allocations: 4.188 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2596, allocations: 0 / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2596, allocations: 0 / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.2597, allocations: 96.98 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2598, allocations: 93 kB / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2598, allocations: 0 / 0.9042 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2599, allocations: 15.98 kB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.26, allocations: 4 kB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.26, allocations: 3.984 kB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.26, allocations: 83.34 kB / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.26, allocations: 0 / 0.9043 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001747/0.2602, allocations: 12 kB / 0.9043 GB, free: 59.94 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.0003025/0.2605, allocations: 0.6321 MB / 0.9049 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2606, allocations: 31.98 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2606, allocations: 4 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.2607, allocations: 12 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2608, allocations: 6.562 kB / 0.9049 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.2614, allocations: 417.5 kB / 0.9053 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2616, allocations: 0.677 MB / 0.906 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.2616, allocations: 8 kB / 0.906 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.2616, allocations: 11.38 kB / 0.906 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.2617, allocations: 0 / 0.906 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.2743, allocations: 1.519 MB / 0.9075 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.2746, allocations: 237.1 kB / 0.9077 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.919, allocations: 3.062 kB / 0.9077 GB, free: 56.48 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)