Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonths,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_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.001671/0.001671, allocations: 108 kB / 15.6 MB, free: 132 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.002422/0.002422, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7769/0.7769, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 56.53 kB / 0.5019 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1651, allocations: 80.22 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002851/0.168, allocations: 1.468 MB / 0.5816 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1691, allocations: 421 kB / 0.582 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.1693, allocations: 4 kB / 0.582 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1694, allocations: 7.875 kB / 0.582 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1695, allocations: 20.23 kB / 0.5821 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.1705, allocations: 253.9 kB / 0.5823 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.171, allocations: 307.6 kB / 0.5826 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.1711, allocations: 15.97 kB / 0.5826 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.1715, allocations: 191.7 kB / 0.5828 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1718, allocations: 104 kB / 0.5829 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.1719, allocations: 16 kB / 0.5829 GB, free: 5.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.172, allocations: 20 kB / 0.5829 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1721, allocations: 71.78 kB / 0.583 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1723, allocations: 131.4 kB / 0.5831 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1727, allocations: 283.3 kB / 0.5834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1727, allocations: 0 / 0.5834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1727, allocations: 0 / 0.5834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1728, allocations: 8 kB / 0.5834 GB, free: 5.383 MB / 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.001493/0.1743, allocations: 0.696 MB / 0.5841 GB, free: 4.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1743, allocations: 8.031 kB / 0.5841 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.345e-05/0.1744, allocations: 42.73 kB / 0.5841 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1745, allocations: 28.66 kB / 0.5842 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.1749, allocations: 267.5 kB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.1749, allocations: 16.12 kB / 0.5844 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.175, allocations: 24 kB / 0.5844 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1753, allocations: 141.5 kB / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1753, allocations: 0 / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.1754, allocations: 8 kB / 0.5846 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1754, allocations: 0 / 0.5846 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1755, allocations: 47.97 kB / 0.5846 GB, free: 3.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.1759, allocations: 305.3 kB / 0.5849 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1762, allocations: 134.6 kB / 0.5851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1764, allocations: 56.83 kB / 0.5851 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.1764, allocations: 7.938 kB / 0.5851 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/0.177, allocations: 219.6 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.177, allocations: 0 / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006434/0.1777, allocations: 271.3 kB / 0.5856 GB, free: 2.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1777, allocations: 71.31 kB / 0.5857 GB, free: 2.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.178, allocations: 290.9 kB / 0.5859 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.1781, allocations: 37.7 kB / 0.586 GB, free: 2.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.1782, allocations: 93.12 kB / 0.5861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.1783, allocations: 43.52 kB / 0.5861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1784, allocations: 101.7 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1785, allocations: 326.8 kB / 0.5865 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.1788, allocations: 92.17 kB / 0.5866 GB, free: 1.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.179, allocations: 146.4 kB / 0.5867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.1793, allocations: 244.1 kB / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1794, allocations: 0 / 0.587 GB, free: 1.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007702/0.1801, allocations: 428.5 kB / 0.5874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.223e-05/0.1802, allocations: 75.39 kB / 0.5874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1802, allocations: 0 / 0.5874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1803, allocations: 4 kB / 0.5875 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1805, allocations: 27.91 kB / 0.5875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1805, allocations: 7.938 kB / 0.5875 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.1811, allocations: 63.98 kB / 0.5875 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.1812, allocations: 51.98 kB / 0.5876 GB, free: 0.7539 MB / 494.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.0001966/0.1814, allocations: 172 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.1814, allocations: 39.55 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1815, allocations: 26.25 kB / 0.5878 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1815, allocations: 4 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1815, allocations: 0 / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1815, allocations: 4 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.1823, allocations: 0.5586 MB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1823, allocations: 0 / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.856e-05/0.1824, allocations: 15.98 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1824, allocations: 0 / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1824, allocations: 11.98 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1824, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1824, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.1829, allocations: 327 kB / 0.5887 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.1831, allocations: 156.6 kB / 0.5889 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/0.1831, allocations: 8 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.1833, allocations: 15.92 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1834, allocations: 19.92 kB / 0.5889 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.71e-05/0.1835, allocations: 31.97 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000174/0.1836, allocations: 205.9 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003317/0.184, allocations: 59.98 kB / 0.5892 GB, free: 15.01 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 (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.0007247/0.1847, allocations: 0.8631 MB / 0.59 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005842/0.1853, allocations: 361 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1853, allocations: 4.062 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1855, allocations: 63.97 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1858, allocations: 28.81 kB / 0.5905 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.189, allocations: 2.38 MB / 0.5928 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.1894, allocations: 0.7396 MB / 0.5935 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000158/0.1896, allocations: 41.42 kB / 0.5936 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1897, allocations: 39.42 kB / 0.5936 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1898, allocations: 4 kB / 0.5936 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.2105, allocations: 5.246 MB / 0.5987 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.303, allocations: 12.88 kB / 0.5987 GB, free: 5.168 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)