Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_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.000882/0.0008822, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001029/0.001029, allocations: 168.7 kB / 15.95 MB, free: 204 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.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9831/0.9831, allocations: 135.3 MB / 426.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 8 kB / 0.5071 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.165, allocations: 82.3 MB / 0.5875 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001729/0.1668, allocations: 1.176 MB / 0.5886 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008648/0.1676, allocations: 407.2 kB / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.1677, allocations: 0 / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.005e-05/0.1678, allocations: 7.938 kB / 0.589 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.1679, allocations: 23.84 kB / 0.589 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.1685, allocations: 208.6 kB / 0.5892 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1688, allocations: 239.5 kB / 0.5895 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.1689, allocations: 7.984 kB / 0.5895 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.1692, allocations: 227.6 kB / 0.5897 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1695, allocations: 131.7 kB / 0.5898 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1695, allocations: 8 kB / 0.5898 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.1696, allocations: 12 kB / 0.5898 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.993e-05/0.1697, allocations: 79.77 kB / 0.5899 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.1698, allocations: 65.58 kB / 0.59 GB, free: 468 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1701, allocations: 195.8 kB / 0.5901 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1701, allocations: 0 / 0.5901 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1701, allocations: 0 / 0.5901 GB, free: 272 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.1701, allocations: 0 / 0.5901 GB, free: 272 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.001204/0.1713, allocations: 0.6219 MB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1714, allocations: 12.03 kB / 0.5908 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.1714, allocations: 38.55 kB / 0.5908 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.1715, allocations: 35.67 kB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1718, allocations: 262.4 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.1719, allocations: 11.94 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.1719, allocations: 20 kB / 0.5911 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.1722, allocations: 153.5 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1722, allocations: 0 / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1723, allocations: 4 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1723, allocations: 0 / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.1724, allocations: 47.91 kB / 0.5913 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.1728, allocations: 313.3 kB / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.173, allocations: 126.7 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1732, allocations: 57.2 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1732, allocations: 0 / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.1736, allocations: 223.6 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.522e-06/0.1737, allocations: 0 / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006885/0.1743, allocations: 259.2 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.1744, allocations: 75.31 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.1747, allocations: 290.8 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.1749, allocations: 37.7 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.175, allocations: 93.12 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.175, allocations: 39.52 kB / 0.5928 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1751, allocations: 12 kB / 0.5928 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000301/0.1754, allocations: 326.8 kB / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.1756, allocations: 92.17 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1759, allocations: 150.4 kB / 0.5933 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1761, allocations: 153.9 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1761, allocations: 4 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006977/0.1768, allocations: 415 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/0.1769, allocations: 79.38 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.1769, allocations: 4 kB / 0.5939 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.177, allocations: 8.188 kB / 0.5939 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1772, allocations: 23.92 kB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1772, allocations: 7.984 kB / 0.594 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.1777, allocations: 67.8 kB / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/0.1778, allocations: 59.98 kB / 0.5941 GB, free: 11.9 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.0002669/0.178, allocations: 171.9 kB / 0.5943 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1781, allocations: 27.7 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1782, allocations: 30.25 kB / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1782, allocations: 4 kB / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1782, allocations: 0 / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1782, allocations: 0 / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.179, allocations: 0.5663 MB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.179, allocations: 3.938 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.179, allocations: 11.98 kB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.179, allocations: 0 / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1791, allocations: 11.98 kB / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1791, allocations: 3.984 kB / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1791, allocations: 0 / 0.5949 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.1795, allocations: 319 kB / 0.5952 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1797, allocations: 160.7 kB / 0.5954 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.204e-05/0.1798, allocations: 11.98 kB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.1801, allocations: 15.92 kB / 0.5954 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.1801, allocations: 15.98 kB / 0.5954 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.1802, allocations: 31.97 kB / 0.5954 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001972/0.1804, allocations: 205.9 kB / 0.5956 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1804, allocations: 0 / 0.5956 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003285/0.1807, allocations: 55.94 kB / 0.5957 GB, free: 10.18 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.0007654/0.1815, allocations: 0.8682 MB / 0.5965 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005572/0.1821, allocations: 338.8 kB / 0.5969 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1821, allocations: 4 kB / 0.5969 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1822, allocations: 73.53 kB / 0.5969 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1826, allocations: 20.88 kB / 0.597 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1845, allocations: 1.177 MB / 0.5981 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1849, allocations: 0.7438 MB / 0.5988 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000145/0.185, allocations: 37.42 kB / 0.5989 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.1852, allocations: 39.42 kB / 0.5989 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1852, allocations: 0 / 0.5989 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.2012, allocations: 4.981 MB / 0.6038 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.2015, allocations: 197.2 kB / 0.604 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.163, allocations: 7.875 kB / 0.604 GB, free: 1.691 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: