Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001925/0.001925, 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.002109/0.002109, allocations: 195.2 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.398/2.398, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.619/1.619, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 72 kB / 0.5055 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2753, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003884/0.2793, allocations: 1.428 MB / 0.5859 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005699/0.2799, allocations: 189 kB / 0.5861 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.28, allocations: 3.938 kB / 0.5861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.28, allocations: 3.984 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.2803, allocations: 15.88 kB / 0.5861 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2806, allocations: 50.8 kB / 0.5861 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2807, allocations: 51.84 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2808, allocations: 11.98 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.2809, allocations: 23.92 kB / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.281, allocations: 15.98 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2811, allocations: 4 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.2811, allocations: 4 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00409/0.2852, allocations: 15.91 kB / 0.5863 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.2853, allocations: 19.92 kB / 0.5863 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2855, allocations: 48.09 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.2856, allocations: 3.938 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.2856, allocations: 4 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2856, allocations: 0 / 0.5863 GB, free: 2.555 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.0008376/0.2865, allocations: 343.5 kB / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.2865, allocations: 8.031 kB / 0.5867 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.2866, allocations: 30.75 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.2867, allocations: 4.938 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2869, allocations: 176.2 kB / 0.5869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.2869, allocations: 384 / 0.5869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.287, allocations: 384 / 0.5869 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.2872, allocations: 72.81 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2873, allocations: 7.875 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2873, allocations: 0 / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2873, allocations: 4 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.643e-05/0.2874, allocations: 8 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.2881, allocations: 264.9 kB / 0.5872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2883, allocations: 46.52 kB / 0.5873 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/0.2884, allocations: 20.94 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2884, allocations: 0 / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.2887, allocations: 71.31 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.2888, allocations: 0 / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.004402/0.2932, allocations: 69.59 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.2934, allocations: 114.8 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2935, allocations: 105.9 kB / 0.5876 GB, free: 1.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2936, allocations: 25.7 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.2937, allocations: 92.06 kB / 0.5877 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.2938, allocations: 7.906 kB / 0.5877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.2939, allocations: 17.72 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.294, allocations: 314.8 kB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.2941, allocations: 19.94 kB / 0.5881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2942, allocations: 34.56 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2944, allocations: 28.8 kB / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2944, allocations: 0 / 0.5881 GB, free: 452 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002107/0.2946, allocations: 57.69 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2946, allocations: 7.938 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2947, allocations: 0 / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2947, allocations: 3.938 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2948, allocations: 11.98 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2949, allocations: 4.031 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2951, allocations: 11.91 kB / 0.5882 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2951, allocations: 3.984 kB / 0.5882 GB, free: 344 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.0001358/0.2952, allocations: 113.8 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.2953, allocations: 4 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.2953, allocations: 7.5 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2954, allocations: 0 / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2954, allocations: 0 / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2954, allocations: 4 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.2956, allocations: 173.6 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2957, allocations: 448 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.2957, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2957, allocations: 0 / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.2958, allocations: 4 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.2958, allocations: 4 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2958, allocations: 3.984 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.296, allocations: 92.98 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.2962, allocations: 96.94 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2962, allocations: 0 / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2964, allocations: 7.984 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.2965, allocations: 8 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2965, allocations: 0 / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.796e-05/0.2966, allocations: 91.27 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.2966, allocations: 0 / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004007/0.2971, allocations: 8 kB / 0.5888 GB, free: 15.62 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.004866/0.3019, allocations: 0.6332 MB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.3022, allocations: 32.27 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3022, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.3023, allocations: 16 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3026, allocations: 4 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.00175/0.3044, allocations: 1.18 MB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3047, allocations: 0.6845 MB / 0.5913 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.456e-05/0.3048, allocations: 7.984 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.3049, allocations: 15.44 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/0.3049, allocations: 0 / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/0.4412, allocations: 1.725 MB / 0.593 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.41, allocations: 14.83 kB / 0.593 GB, free: 11.34 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)