Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001686/0.001686, 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.001933/0.001933, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.2 MB / 422.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 61.75 kB / 0.5019 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1426, allocations: 80.2 MB / 0.5802 GB, free: 8.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00266/0.1453, allocations: 1.468 MB / 0.5816 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.1463, allocations: 424.7 kB / 0.582 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.1464, allocations: 0 / 0.582 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.145e-05/0.1465, allocations: 15.86 kB / 0.582 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.1466, allocations: 24.22 kB / 0.5821 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000711/0.1473, allocations: 238.4 kB / 0.5823 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.1477, allocations: 319.5 kB / 0.5826 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.1477, allocations: 11.97 kB / 0.5826 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.148, allocations: 187.7 kB / 0.5828 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1482, allocations: 104 kB / 0.5829 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.191e-05/0.1483, allocations: 20 kB / 0.5829 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.1484, allocations: 16 kB / 0.5829 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1485, allocations: 83.77 kB / 0.583 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1486, allocations: 123.4 kB / 0.5831 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.1489, allocations: 291.3 kB / 0.5834 GB, free: 5.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1489, allocations: 0 / 0.5834 GB, free: 5.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1489, allocations: 0 / 0.5834 GB, free: 5.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.149, allocations: 0 / 0.5834 GB, free: 5.441 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.001115/0.1501, allocations: 0.6999 MB / 0.5841 GB, free: 4.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1501, allocations: 8.031 kB / 0.5841 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.1502, allocations: 34.75 kB / 0.5841 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.1503, allocations: 36.64 kB / 0.5842 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1505, allocations: 263.5 kB / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1506, allocations: 20.11 kB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.1506, allocations: 16 kB / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.1509, allocations: 145.5 kB / 0.5846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.151, allocations: 0 / 0.5846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.151, allocations: 0 / 0.5846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.151, allocations: 0 / 0.5846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1511, allocations: 51.97 kB / 0.5846 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.1515, allocations: 313.3 kB / 0.5849 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1518, allocations: 138.6 kB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1519, allocations: 63.33 kB / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.152, allocations: 3.938 kB / 0.5851 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.1524, allocations: 215.6 kB / 0.5853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.944e-06/0.1524, allocations: 0 / 0.5853 GB, free: 3.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005754/0.153, allocations: 274.7 kB / 0.5856 GB, free: 2.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1531, allocations: 55.41 kB / 0.5856 GB, free: 2.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1533, allocations: 294.9 kB / 0.5859 GB, free: 2.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.1534, allocations: 45.69 kB / 0.586 GB, free: 2.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1535, allocations: 85.14 kB / 0.5861 GB, free: 2.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.1535, allocations: 43.5 kB / 0.5861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1537, allocations: 105.7 kB / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.1538, allocations: 322.8 kB / 0.5865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.154, allocations: 100.1 kB / 0.5866 GB, free: 1.918 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.1543, allocations: 150.4 kB / 0.5867 GB, free: 1.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.1546, allocations: 238.9 kB / 0.587 GB, free: 1.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1546, allocations: 3.938 kB / 0.587 GB, free: 1.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006884/0.1553, allocations: 423.1 kB / 0.5874 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.1554, allocations: 77.25 kB / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1554, allocations: 0 / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1554, allocations: 4 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1556, allocations: 27.92 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1556, allocations: 16.11 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005093/0.1561, allocations: 59.8 kB / 0.5876 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/0.1562, allocations: 47.98 kB / 0.5876 GB, free: 0.8125 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.0001768/0.1564, allocations: 172 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.1565, allocations: 39.55 kB / 0.5878 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.1565, allocations: 26.27 kB / 0.5878 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1565, allocations: 7.984 kB / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1566, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1566, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.1574, allocations: 0.5606 MB / 0.5884 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1574, allocations: 0 / 0.5884 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.1574, allocations: 7.984 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1574, allocations: 0 / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.1575, allocations: 19.98 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1575, allocations: 0 / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1575, allocations: 0 / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.1579, allocations: 320.6 kB / 0.5887 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.1581, allocations: 156.6 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.1582, allocations: 11.98 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.1584, allocations: 15.98 kB / 0.5889 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1585, allocations: 23.86 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.1585, allocations: 31.98 kB / 0.5889 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001763/0.1587, allocations: 209.9 kB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1587, allocations: 0 / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000315/0.159, allocations: 48 kB / 0.5892 GB, free: 15.07 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.0007077/0.1597, allocations: 0.87 MB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.1603, allocations: 354.8 kB / 0.5904 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1603, allocations: 0 / 0.5904 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.1605, allocations: 67.97 kB / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1608, allocations: 22.44 kB / 0.5905 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.1636, allocations: 2.384 MB / 0.5928 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1639, allocations: 0.7502 MB / 0.5935 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.1641, allocations: 33.44 kB / 0.5936 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.1643, allocations: 51.41 kB / 0.5936 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1643, allocations: 0 / 0.5936 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.185, allocations: 5.25 MB / 0.5987 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.393, allocations: 17.12 kB / 0.5987 GB, free: 5.223 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)