Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.001334/0.001334, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00099/0.0009904, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.266/1.266, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006014/0.0006015, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2855, allocations: 82.3 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003298/0.2888, allocations: 1.163 MB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2903, allocations: 396.8 kB / 0.5888 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.2904, allocations: 4 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.253e-05/0.2904, allocations: 3.938 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2906, allocations: 19.97 kB / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2917, allocations: 214.7 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.2921, allocations: 155.7 kB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.2922, allocations: 4 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.2926, allocations: 155.7 kB / 0.5893 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.293, allocations: 127.7 kB / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.2931, allocations: 8 kB / 0.5894 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.2932, allocations: 11.94 kB / 0.5895 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.2934, allocations: 75.84 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.2935, allocations: 69.58 kB / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.2939, allocations: 203.8 kB / 0.5898 GB, free: 480 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.294, allocations: 3.938 kB / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd: time 6.783e-06/0.294, allocations: 0 / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.294, allocations: 3.938 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001779/0.2958, allocations: 0.6204 MB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.778e-05/0.2959, allocations: 12.03 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.329e-05/0.296, allocations: 38.55 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.2961, allocations: 27.72 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.2967, allocations: 254.5 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.2968, allocations: 12 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/0.2969, allocations: 19.98 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2973, allocations: 141.5 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.2974, allocations: 11.88 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.334e-05/0.2974, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2975, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2977, allocations: 51.97 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.2983, allocations: 313.3 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.2987, allocations: 130.7 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.2987, allocations: 3.938 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006964/0.2994, allocations: 216 kB / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.815e-06/0.2995, allocations: 0 / 0.5916 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008847/0.3004, allocations: 271.3 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.3004, allocations: 59.41 kB / 0.5919 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.301, allocations: 294.8 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.3011, allocations: 45.69 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.3012, allocations: 85.14 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.3013, allocations: 43.5 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3014, allocations: 8 kB / 0.5923 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.3016, allocations: 326.8 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3019, allocations: 92.17 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.3022, allocations: 150.4 kB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3025, allocations: 157.9 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3025, allocations: 0 / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007644/0.3033, allocations: 415.1 kB / 0.5934 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.3034, allocations: 71.39 kB / 0.5935 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3034, allocations: 4 kB / 0.5935 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.3034, allocations: 7.938 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3037, allocations: 31.91 kB / 0.5935 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3037, allocations: 0 / 0.5935 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.3043, allocations: 75.98 kB / 0.5936 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.3044, allocations: 47.98 kB / 0.5937 GB, free: 12.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0003226/0.3047, allocations: 183.9 kB / 0.5938 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.3047, allocations: 23.72 kB / 0.5939 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.3048, allocations: 38.25 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3048, allocations: 4 kB / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3049, allocations: 0 / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3049, allocations: 0 / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.3061, allocations: 0.5606 MB / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3062, allocations: 0 / 0.5945 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.3062, allocations: 11.98 kB / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3063, allocations: 0 / 0.5945 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.3063, allocations: 15.98 kB / 0.5945 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3063, allocations: 0 / 0.5945 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3063, allocations: 4 kB / 0.5945 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.3069, allocations: 325.3 kB / 0.5948 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.3071, allocations: 152.7 kB / 0.5949 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.3072, allocations: 11.94 kB / 0.595 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.3074, allocations: 15.98 kB / 0.595 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.3075, allocations: 15.97 kB / 0.595 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.3075, allocations: 35.98 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002297/0.3078, allocations: 205.9 kB / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3078, allocations: 0 / 0.5952 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003575/0.3082, allocations: 48 kB / 0.5953 GB, free: 10.46 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009851/0.3091, allocations: 0.8662 MB / 0.5961 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009002/0.3101, allocations: 343.8 kB / 0.5964 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3101, allocations: 0 / 0.5964 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.3103, allocations: 74.41 kB / 0.5965 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3107, allocations: 16.88 kB / 0.5965 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.3134, allocations: 1.607 MB / 0.5981 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.3139, allocations: 0.7438 MB / 0.5988 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.314, allocations: 41.42 kB / 0.5989 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3142, allocations: 47.41 kB / 0.5989 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.3142, allocations: 0 / 0.5989 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8229/1.137, allocations: 4.925 MB / 0.6037 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.138, allocations: 190.5 kB / 0.6039 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.832, allocations: 0 / 0.6039 GB, free: 1.582 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) Environment - environmentSimulation: