Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_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.001728/0.001728, 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.001715/0.001715, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.431/2.431, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.008/2.008, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 63.77 kB / 0.5055 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2827, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.005198/0.288, allocations: 1.418 MB / 0.5859 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.2889, allocations: 185 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2889, allocations: 0 / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2932, allocations: 7.875 kB / 0.5861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.2937, allocations: 23.92 kB / 0.5861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.2941, allocations: 50.98 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.2943, allocations: 47.91 kB / 0.5862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.2945, allocations: 15.92 kB / 0.5862 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.2946, allocations: 19.94 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2948, allocations: 15.97 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.2948, allocations: 4 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.802e-05/0.2948, allocations: 4 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.2949, allocations: 15.92 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.295, allocations: 19.92 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.2952, allocations: 48.14 kB / 0.5863 GB, free: 2.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2952, allocations: 3.938 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2952, allocations: 0 / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2952, allocations: 4 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB 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.0008188/0.2961, allocations: 335.5 kB / 0.5866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.2961, allocations: 12.03 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.2962, allocations: 34.75 kB / 0.5867 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.2963, allocations: 8.922 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2965, allocations: 168.2 kB / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2965, allocations: 4.375 kB / 0.5869 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.2966, allocations: 384 / 0.5869 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2968, allocations: 76.75 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2969, allocations: 3.938 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.2969, allocations: 0 / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2969, allocations: 0 / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.297, allocations: 15.98 kB / 0.5869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.2979, allocations: 261 kB / 0.5872 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.2981, allocations: 50.44 kB / 0.5872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.2981, allocations: 20.86 kB / 0.5873 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2982, allocations: 3.984 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.2985, allocations: 63.48 kB / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.2985, allocations: 0 / 0.5873 GB, free: 1.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004401/0.299, allocations: 81.52 kB / 0.5874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.2991, allocations: 106.8 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2992, allocations: 105.8 kB / 0.5876 GB, free: 1.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2993, allocations: 25.7 kB / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.2994, allocations: 84.14 kB / 0.5877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.2994, allocations: 7.906 kB / 0.5877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.347e-05/0.2995, allocations: 25.7 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2997, allocations: 310.8 kB / 0.588 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.2998, allocations: 12 kB / 0.5881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2999, allocations: 38.5 kB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3, allocations: 40.72 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3, allocations: 0 / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.3002, allocations: 49.7 kB / 0.5882 GB, free: 396 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.3003, allocations: 8 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3003, allocations: 7.922 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3003, allocations: 0 / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3005, allocations: 4 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3005, allocations: 4.031 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.3007, allocations: 15.89 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3008, allocations: 0 / 0.5882 GB, free: 356 kB / 494.1 MB 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.0001451/0.3009, allocations: 117.8 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.301, allocations: 0 / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.301, allocations: 11.5 kB / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.301, allocations: 0 / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3011, allocations: 448 / 0.5883 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3011, allocations: 7.922 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.3014, allocations: 173.6 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3014, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/0.3014, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3015, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3015, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3015, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.3015, allocations: 3.984 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.3018, allocations: 89.06 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3019, allocations: 96.94 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.302, allocations: 4 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3022, allocations: 7.984 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3023, allocations: 4 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.3023, allocations: 3.984 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.845e-05/0.3024, allocations: 83.28 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.158e-06/0.3024, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004174/0.3028, allocations: 19.94 kB / 0.5888 GB, free: 15.63 MB / 0.4981 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.0007201/0.3036, allocations: 0.6244 MB / 0.5894 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.3038, allocations: 35.95 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3038, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.3039, allocations: 15.98 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3042, allocations: 10.06 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.3062, allocations: 1.172 MB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3067, allocations: 0.6796 MB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.616e-05/0.3068, allocations: 7.938 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.3069, allocations: 11.44 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.3069, allocations: 0 / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09836/0.4052, allocations: 1.718 MB / 0.593 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.14/18.54, allocations: 7.828 kB / 0.593 GB, free: 11.34 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)