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.714/1.714, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001234/0.001234, allocations: 181 kB / 371.8 MB, free: 10.27 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.864/1.864, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009674/0.0009674, allocations: 113.2 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 15.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.246, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001592/0.2476, allocations: 1.14 MB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003566/0.248, allocations: 160.6 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.248, allocations: 0 / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.2481, allocations: 7.922 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2483, allocations: 11.98 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.2485, allocations: 54.11 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.955e-05/0.2486, allocations: 31.89 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2487, allocations: 8 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.2488, allocations: 15.98 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2489, allocations: 19.91 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2489, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.2489, allocations: 4 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.249, allocations: 7.984 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.249, allocations: 29.7 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.444e-05/0.2491, allocations: 32.16 kB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2491, allocations: 0 / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2491, allocations: 0 / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2491, allocations: 4 kB / 0.981 GB, free: 26.06 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.0004966/0.2496, allocations: 339.3 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2497, allocations: 11.97 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.2497, allocations: 34.5 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.2498, allocations: 4 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2499, allocations: 175 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.2499, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2499, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2501, allocations: 68.25 kB / 0.9816 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2501, allocations: 0 / 0.9816 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2501, allocations: 3.984 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2501, allocations: 4 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.2502, allocations: 19.88 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.2506, allocations: 272.8 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.2507, allocations: 38.58 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2507, allocations: 0 / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.2508, allocations: 67.42 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.2508, allocations: 0 / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001927/0.251, allocations: 69.67 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2511, allocations: 106.8 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.658e-05/0.2512, allocations: 105.8 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2512, allocations: 29.7 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.2512, allocations: 84.14 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.2513, allocations: 11.8 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2513, allocations: 4 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.92e-05/0.2513, allocations: 314.8 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.2514, allocations: 12 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.2514, allocations: 42.75 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.2514, allocations: 12 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2514, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.708e-05/0.2515, allocations: 57.69 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.2515, allocations: 4 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2516, allocations: 4 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2516, allocations: 0 / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.2516, allocations: 4 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.2517, allocations: 0 / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2518, allocations: 16.02 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2518, allocations: 0 / 0.9828 GB, free: 23.93 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 6.799e-05/0.2519, allocations: 125.7 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.2519, allocations: 4 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.2519, allocations: 3.5 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2519, allocations: 0 / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2519, allocations: 0 / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2519, allocations: 4 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.838e-05/0.252, allocations: 185.4 kB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.252, allocations: 0 / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.2521, allocations: 4 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2521, allocations: 3.938 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2521, allocations: 4 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2521, allocations: 0 / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2521, allocations: 0 / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.2522, allocations: 93 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2523, allocations: 93.09 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2523, allocations: 0 / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2524, allocations: 11.98 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.2524, allocations: 4.234 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2525, allocations: 192 / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.2525, allocations: 91.27 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2525, allocations: 0 / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001784/0.2527, allocations: 12 kB / 0.9834 GB, free: 23.2 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.0003622/0.2531, allocations: 0.6358 MB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.2532, allocations: 31.92 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2532, allocations: 0 / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.2533, allocations: 16 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.2534, allocations: 1.688 kB / 0.9841 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.2541, allocations: 397.4 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2543, allocations: 0.6848 MB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.2543, allocations: 4 kB / 0.9851 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.2544, allocations: 19.44 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2544, allocations: 0 / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.2688, allocations: 1.519 MB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.2691, allocations: 219.4 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.782, allocations: 0 / 0.9868 GB, free: 19.75 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)