Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001194/0.001194, 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.00114/0.00114, allocations: 194 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7979/0.7979, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 57.34 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.366, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002895/0.369, allocations: 1.482 MB / 0.5816 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.3699, allocations: 422.7 kB / 0.582 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.37, allocations: 0 / 0.582 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.694e-05/0.3701, allocations: 10.8 kB / 0.582 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.3703, allocations: 23.72 kB / 0.5821 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.3711, allocations: 242.7 kB / 0.5823 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.3715, allocations: 314.8 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.3716, allocations: 13.95 kB / 0.5826 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.3719, allocations: 186.6 kB / 0.5828 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.3722, allocations: 106 kB / 0.5829 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.813e-05/0.3723, allocations: 18.72 kB / 0.5829 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.3723, allocations: 18.69 kB / 0.5829 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3725, allocations: 74.42 kB / 0.583 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.3726, allocations: 122.4 kB / 0.5831 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.373, allocations: 293.3 kB / 0.5834 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.373, allocations: 0.9375 kB / 0.5834 GB, free: 2.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.373, allocations: 4.609 kB / 0.5834 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.373, allocations: 0 / 0.5834 GB, free: 2.68 MB / 430.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.001234/0.3743, allocations: 0.6916 MB / 0.5841 GB, free: 2.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3743, allocations: 9.406 kB / 0.5841 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.3744, allocations: 39.3 kB / 0.5841 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3745, allocations: 31.75 kB / 0.5842 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.3748, allocations: 267.2 kB / 0.5844 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.3748, allocations: 21.23 kB / 0.5844 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.3749, allocations: 23.98 kB / 0.5844 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.3752, allocations: 144.9 kB / 0.5846 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3752, allocations: 0 / 0.5846 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.3752, allocations: 6.547 kB / 0.5846 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3752, allocations: 1.062 kB / 0.5846 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3754, allocations: 46.05 kB / 0.5846 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.3757, allocations: 307.8 kB / 0.5849 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3761, allocations: 140.5 kB / 0.5851 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3762, allocations: 56.2 kB / 0.5851 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3762, allocations: 2.953 kB / 0.5851 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004959/0.3767, allocations: 220.5 kB / 0.5853 GB, free: 1.273 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.3768, allocations: 3.938 kB / 0.5853 GB, free: 1.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006297/0.3774, allocations: 270.2 kB / 0.5856 GB, free: 1.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3774, allocations: 61.72 kB / 0.5857 GB, free: 1.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.3778, allocations: 287.8 kB / 0.5859 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.3778, allocations: 38.64 kB / 0.586 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.3779, allocations: 94.55 kB / 0.5861 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.3779, allocations: 46.98 kB / 0.5861 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.3781, allocations: 104 kB / 0.5862 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.3782, allocations: 329.7 kB / 0.5865 GB, free: 428 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.3784, allocations: 90.95 kB / 0.5866 GB, free: 404 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.3787, allocations: 145 kB / 0.5867 GB, free: 316 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.379, allocations: 246 kB / 0.587 GB, free: 124 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.379, allocations: 0 / 0.587 GB, free: 124 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007434/0.3798, allocations: 423.5 kB / 0.5874 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/0.3799, allocations: 78.97 kB / 0.5875 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3799, allocations: 0.9062 kB / 0.5875 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3799, allocations: 4.375 kB / 0.5875 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3801, allocations: 25.92 kB / 0.5875 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3801, allocations: 4.781 kB / 0.5875 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.3806, allocations: 67.88 kB / 0.5875 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/0.3807, allocations: 53.95 kB / 0.5876 GB, free: 15.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.3809, allocations: 171 kB / 0.5878 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.381, allocations: 32.69 kB / 0.5878 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.3811, allocations: 27.88 kB / 0.5878 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3811, allocations: 2.062 kB / 0.5878 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3811, allocations: 4.875 kB / 0.5878 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3811, allocations: 1.453 kB / 0.5878 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.382, allocations: 0.559 MB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.382, allocations: 0.5938 kB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.3821, allocations: 12.59 kB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3821, allocations: 1.031 kB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.3821, allocations: 11.84 kB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3821, allocations: 1.312 kB / 0.5884 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3821, allocations: 4 kB / 0.5884 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.3826, allocations: 326.5 kB / 0.5887 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.3828, allocations: 159 kB / 0.5889 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.3829, allocations: 8.344 kB / 0.5889 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3831, allocations: 13.72 kB / 0.5889 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3832, allocations: 18.17 kB / 0.5889 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/0.3832, allocations: 27.62 kB / 0.5889 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3835, allocations: 216.6 kB / 0.5891 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3835, allocations: 0 / 0.5891 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.3838, allocations: 49.36 kB / 0.5892 GB, free: 14.8 MB / 446.1 MB 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 (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.0007775/0.3846, allocations: 0.8693 MB / 0.59 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.3853, allocations: 361.6 kB / 0.5904 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3853, allocations: 0 / 0.5904 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3854, allocations: 65 kB / 0.5904 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.3858, allocations: 35.84 kB / 0.5905 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.3889, allocations: 2.374 MB / 0.5928 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3893, allocations: 0.7401 MB / 0.5935 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3894, allocations: 39.03 kB / 0.5936 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.3896, allocations: 47.61 kB / 0.5936 GB, free: 11.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3896, allocations: 0 / 0.5936 GB, free: 11.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.4119, allocations: 5.25 MB / 0.5987 GB, free: 9.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.619/9.03, allocations: 7.734 kB / 0.5987 GB, free: 9.25 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)