Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8798/0.8798, allocations: 143.4 MB / 158.3 MB, free: 5.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 181 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009029, allocations: 88.33 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 279 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005194, allocations: 20.98 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6734/0.9, allocations: 110.5 MB / 0.8816 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.9004, allocations: 76.89 kB / 0.8817 GB, free: 31.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.9147, allocations: 4.482 MB / 0.8861 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9148, allocations: 0 / 0.8861 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.9148, allocations: 2.75 kB / 0.8861 GB, free: 31.18 MB / 0.5417 GB 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.0009543/0.9158, allocations: 0.6221 MB / 0.8867 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.9158, allocations: 8.688 kB / 0.8867 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.9159, allocations: 32.16 kB / 0.8867 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.9163, allocations: 247.6 kB / 0.887 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.9164, allocations: 18.14 kB / 0.887 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.9164, allocations: 14.91 kB / 0.887 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.9168, allocations: 144 kB / 0.8871 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.9168, allocations: 0 / 0.8871 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.9168, allocations: 3.188 kB / 0.8871 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9168, allocations: 3.938 kB / 0.8871 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.917, allocations: 44.83 kB / 0.8872 GB, free: 30.35 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.9174, allocations: 337.5 kB / 0.8875 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.9177, allocations: 122.8 kB / 0.8876 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.9177, allocations: 6.859 kB / 0.8876 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.9182, allocations: 218.6 kB / 0.8878 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/0.9182, allocations: 3.984 kB / 0.8878 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18): time 0.000665/0.9189, allocations: 269.2 kB / 0.8881 GB, free: 30 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.919, allocations: 63.81 kB / 0.8882 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.9193, allocations: 255.9 kB / 0.8884 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.9193, allocations: 39 kB / 0.8884 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.9194, allocations: 96.39 kB / 0.8885 GB, free: 29.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.9195, allocations: 44.23 kB / 0.8886 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.9195, allocations: 7.312 kB / 0.8886 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.9196, allocations: 324.6 kB / 0.8889 GB, free: 29.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.9198, allocations: 104.8 kB / 0.889 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.9201, allocations: 163.5 kB / 0.8891 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.9204, allocations: 150.7 kB / 0.8893 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9204, allocations: 0 / 0.8893 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000815/0.9213, allocations: 428 kB / 0.8897 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.9213, allocations: 82.03 kB / 0.8898 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9214, allocations: 1 kB / 0.8898 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.9214, allocations: 3.062 kB / 0.8898 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.9216, allocations: 27.72 kB / 0.8898 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9216, allocations: 2.938 kB / 0.8898 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.922, allocations: 53.45 kB / 0.8899 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.9221, allocations: 55.3 kB / 0.8899 GB, free: 29.05 MB / 0.5417 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.0001917/0.9223, allocations: 174.1 kB / 0.8901 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.9223, allocations: 25.02 kB / 0.8901 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.9224, allocations: 29.78 kB / 0.8901 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.9224, allocations: 2.594 kB / 0.8901 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.9224, allocations: 4.797 kB / 0.8901 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9224, allocations: 4.703 kB / 0.8901 GB, free: 28.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.9233, allocations: 0.5623 MB / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9233, allocations: 0.75 kB / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.9233, allocations: 7.75 kB / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.9234, allocations: 0 / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.9234, allocations: 11.08 kB / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.9234, allocations: 2.875 kB / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9234, allocations: 0 / 0.8907 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.9238, allocations: 321.6 kB / 0.891 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.924, allocations: 157.2 kB / 0.8912 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.9241, allocations: 14.98 kB / 0.8912 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.9243, allocations: 11.52 kB / 0.8912 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.9244, allocations: 15.16 kB / 0.8912 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.9244, allocations: 36.33 kB / 0.8912 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001881/0.9246, allocations: 205.9 kB / 0.8914 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9246, allocations: 0 / 0.8914 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003341/0.9249, allocations: 60.06 kB / 0.8915 GB, free: 28.23 MB / 0.5417 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.000151/0.9251, allocations: 121.4 kB / 0.8916 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.9257, allocations: 357 kB / 0.892 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9257, allocations: 0 / 0.892 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.9258, allocations: 73.05 kB / 0.892 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.9261, allocations: 25.78 kB / 0.892 GB, free: 28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.9268, allocations: 443.4 kB / 0.8925 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.9282, allocations: 0.7506 MB / 0.8932 GB, free: 43.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.9283, allocations: 40.16 kB / 0.8932 GB, free: 43.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.9285, allocations: 33.61 kB / 0.8933 GB, free: 43 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/0.9285, allocations: 2.875 kB / 0.8933 GB, free: 43 MB / 0.5573 GB Notification: Performance of Templates: time 0.01009/0.9386, allocations: 4.302 MB / 0.8975 GB, free: 42.57 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)