Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 102.2 kB / 16.27 MB, free: 6 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.001528/0.001528, allocations: 191 kB / 17.2 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8502/0.8502, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3186, allocations: 80.92 MB / 0.585 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002331/0.3209, allocations: 1.474 MB / 0.5865 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007661/0.3217, allocations: 424.6 kB / 0.5869 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.3218, allocations: 1.156 kB / 0.5869 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.678e-05/0.3219, allocations: 8.766 kB / 0.5869 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.72e-05/0.322, allocations: 24.2 kB / 0.5869 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.3226, allocations: 244.1 kB / 0.5872 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3228, allocations: 316.6 kB / 0.5875 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.3229, allocations: 12.86 kB / 0.5875 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3231, allocations: 187.5 kB / 0.5876 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3233, allocations: 105.1 kB / 0.5877 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.3233, allocations: 17.91 kB / 0.5878 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.3234, allocations: 19.34 kB / 0.5878 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.3235, allocations: 82.52 kB / 0.5879 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.3236, allocations: 121.1 kB / 0.588 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3239, allocations: 287.6 kB / 0.5883 GB, free: 23.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3239, allocations: 0 / 0.5883 GB, free: 23.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3239, allocations: 2.406 kB / 0.5883 GB, free: 23.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3239, allocations: 3.938 kB / 0.5883 GB, free: 23.18 MB / 446.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.001008/0.3249, allocations: 0.6889 MB / 0.5889 GB, free: 22.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.325, allocations: 14.41 kB / 0.5889 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.3251, allocations: 31.94 kB / 0.589 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.3253, allocations: 263.1 kB / 0.5892 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.3253, allocations: 17.27 kB / 0.5892 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.3254, allocations: 21.12 kB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.3257, allocations: 149.5 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3257, allocations: 1.844 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.3257, allocations: 3.984 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3257, allocations: 3.938 kB / 0.5894 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3258, allocations: 51.91 kB / 0.5895 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.3261, allocations: 311.2 kB / 0.5898 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3263, allocations: 131.8 kB / 0.5899 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3265, allocations: 56.83 kB / 0.5899 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3265, allocations: 9 kB / 0.5899 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.3269, allocations: 218.5 kB / 0.5902 GB, free: 21.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.3269, allocations: 0 / 0.5902 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004816/0.3274, allocations: 277.1 kB / 0.5904 GB, free: 20.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3274, allocations: 59.39 kB / 0.5905 GB, free: 20.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3276, allocations: 287 kB / 0.5908 GB, free: 20.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.3277, allocations: 41.64 kB / 0.5908 GB, free: 20.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3277, allocations: 90.02 kB / 0.5909 GB, free: 20.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3278, allocations: 51.42 kB / 0.5909 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3279, allocations: 102.8 kB / 0.591 GB, free: 20.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.3279, allocations: 324.3 kB / 0.5913 GB, free: 20.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3281, allocations: 96.17 kB / 0.5914 GB, free: 19.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.3283, allocations: 148.1 kB / 0.5916 GB, free: 19.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.3286, allocations: 243.2 kB / 0.5918 GB, free: 19.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3286, allocations: 0 / 0.5918 GB, free: 19.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000546/0.3291, allocations: 423.3 kB / 0.5922 GB, free: 19.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.3292, allocations: 71.39 kB / 0.5923 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3292, allocations: 0.625 kB / 0.5923 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3292, allocations: 4 kB / 0.5923 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3294, allocations: 32.84 kB / 0.5923 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3294, allocations: 4 kB / 0.5923 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3299, allocations: 63.42 kB / 0.5924 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.33, allocations: 47.98 kB / 0.5924 GB, free: 18.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.0001288/0.3301, allocations: 177.2 kB / 0.5926 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.3302, allocations: 29.16 kB / 0.5926 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.3302, allocations: 34.23 kB / 0.5926 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3302, allocations: 4 kB / 0.5927 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3302, allocations: 0 / 0.5927 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3302, allocations: 1.281 kB / 0.5927 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.3308, allocations: 0.5591 MB / 0.5932 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3308, allocations: 6.156 kB / 0.5932 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3309, allocations: 7.984 kB / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3309, allocations: 0 / 0.5932 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.3309, allocations: 15.98 kB / 0.5932 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3309, allocations: 0 / 0.5932 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3309, allocations: 3.938 kB / 0.5932 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3313, allocations: 329.1 kB / 0.5935 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3314, allocations: 152.7 kB / 0.5937 GB, free: 17.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.3314, allocations: 11.98 kB / 0.5937 GB, free: 17.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3317, allocations: 17.39 kB / 0.5937 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3317, allocations: 11.98 kB / 0.5937 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3317, allocations: 31.98 kB / 0.5938 GB, free: 17.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3319, allocations: 212.2 kB / 0.594 GB, free: 17.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 0 / 0.594 GB, free: 17.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.3322, allocations: 48 kB / 0.594 GB, free: 17.11 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 9.743e-05/0.3323, allocations: 114.3 kB / 0.5941 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004532/0.3327, allocations: 358.8 kB / 0.5945 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3328, allocations: 0 / 0.5945 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3329, allocations: 74.14 kB / 0.5945 GB, free: 16.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.3332, allocations: 21.84 kB / 0.5946 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.3338, allocations: 428.7 kB / 0.595 GB, free: 16.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.3339, allocations: 0.7448 MB / 0.5957 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.334, allocations: 37.02 kB / 0.5957 GB, free: 15.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3341, allocations: 1.562 kB / 0.5957 GB, free: 15.28 MB / 446.1 MB Notification: Performance of Templates: time 0.003994/0.3381, allocations: 2.994 MB / 0.5986 GB, free: 12.34 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)