Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 195 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5489 GB, free: 13.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 67.72 kB / 0.6716 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2325, allocations: 114.5 MB / 0.7835 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002894/0.2354, allocations: 1.439 MB / 0.7849 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004297/0.2359, allocations: 187.3 kB / 0.7851 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.2359, allocations: 4 kB / 0.7851 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.236, allocations: 0 / 0.7851 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2362, allocations: 15.86 kB / 0.7851 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2364, allocations: 59.48 kB / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.722e-05/0.2365, allocations: 55.83 kB / 0.7852 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2366, allocations: 8 kB / 0.7852 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.2367, allocations: 15.98 kB / 0.7852 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.2367, allocations: 19.92 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.2368, allocations: 8 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.2368, allocations: 4 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.2369, allocations: 15.91 kB / 0.7853 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.2369, allocations: 15.94 kB / 0.7853 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.469e-05/0.237, allocations: 48.08 kB / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.237, allocations: 0 / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.237, allocations: 0 / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.237, allocations: 0 / 0.7853 GB, free: 11.62 MB / 0.6075 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.0005236/0.2376, allocations: 347.5 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2376, allocations: 12.03 kB / 0.7857 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.2377, allocations: 30.75 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.2377, allocations: 4.938 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2379, allocations: 176.2 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2379, allocations: 4.312 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2379, allocations: 384 / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2381, allocations: 68.75 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2381, allocations: 7.938 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2381, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2381, allocations: 4 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.158e-05/0.2382, allocations: 15.98 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.2387, allocations: 257 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2388, allocations: 42.44 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.2389, allocations: 20.86 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2389, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.2391, allocations: 67.47 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.2391, allocations: 0 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002429/0.2394, allocations: 73.58 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/0.2395, allocations: 110.8 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.2396, allocations: 109.8 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2396, allocations: 33.7 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.2397, allocations: 80.14 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.2397, allocations: 11.89 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.2398, allocations: 21.72 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2399, allocations: 322.8 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-05/0.2399, allocations: 12 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.24, allocations: 30.56 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.2401, allocations: 32.83 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2401, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001301/0.2402, allocations: 65.62 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2402, allocations: 4 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2402, allocations: 0 / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2403, allocations: 0 / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.2404, allocations: 8 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2404, allocations: 0 / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2405, allocations: 11.89 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2405, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 0.000103/0.2406, allocations: 126.4 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.2406, allocations: 4 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.2407, allocations: 7.438 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2407, allocations: 0 / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2407, allocations: 0 / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2407, allocations: 4 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2409, allocations: 173.5 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2409, allocations: 448 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.2409, allocations: 7.984 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2409, allocations: 4 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2409, allocations: 4 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2409, allocations: 4 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2409, allocations: 3.938 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2411, allocations: 89.05 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.088e-05/0.2412, allocations: 85.02 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.2412, allocations: 7.984 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2413, allocations: 4 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2414, allocations: 11.98 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2414, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.2415, allocations: 87.28 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2415, allocations: 0 / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002059/0.2417, allocations: 11.98 kB / 0.7878 GB, free: 8.68 MB / 0.6075 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.0004735/0.2422, allocations: 0.6319 MB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2423, allocations: 32.27 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2423, allocations: 0 / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.131e-05/0.2424, allocations: 15.94 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.2425, allocations: 8.031 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2436, allocations: 1.167 MB / 0.7896 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.2439, allocations: 0.6807 MB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.2439, allocations: 8 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2439, allocations: 19.42 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.244, allocations: 0 / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2628, allocations: 1.715 MB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.586, allocations: 9.812 kB / 0.792 GB, free: 4.387 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)