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.005357/0.005356, allocations: 97.56 kB / 15.73 MB, free: 6.039 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.001286/0.001287, allocations: 201.4 kB / 16.68 MB, free: 5.961 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8842/0.8842, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.05 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1653, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003101/0.1685, allocations: 1.466 MB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1696, allocations: 426.8 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.1696, allocations: 0 / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1698, allocations: 11.88 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.1699, allocations: 16.23 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.1706, allocations: 252.4 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.171, allocations: 315.5 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1711, allocations: 7.938 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.1713, allocations: 191.7 kB / 0.6618 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1716, allocations: 113.4 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.1717, allocations: 16 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-05/0.1717, allocations: 20 kB / 0.6619 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1719, allocations: 83.66 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.172, allocations: 123.4 kB / 0.6621 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1724, allocations: 279.2 kB / 0.6624 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1724, allocations: 0 / 0.6624 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1724, allocations: 0 / 0.6624 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1724, allocations: 0 / 0.6624 GB, free: 10.74 MB / 0.4981 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.001325/0.1738, allocations: 0.7193 MB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1738, allocations: 8.031 kB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.1739, allocations: 42.73 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.174, allocations: 32.8 kB / 0.6632 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.1743, allocations: 259.8 kB / 0.6634 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.1743, allocations: 16.12 kB / 0.6634 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.1744, allocations: 20 kB / 0.6634 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.1747, allocations: 145.5 kB / 0.6636 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1747, allocations: 0 / 0.6636 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1748, allocations: 15.92 kB / 0.6636 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1748, allocations: 0 / 0.6636 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1749, allocations: 51.97 kB / 0.6636 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1753, allocations: 305.4 kB / 0.6639 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1756, allocations: 130.6 kB / 0.6641 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1758, allocations: 67.89 kB / 0.6641 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1758, allocations: 4 kB / 0.6641 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005008/0.1763, allocations: 215.6 kB / 0.6643 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1763, allocations: 4 kB / 0.6643 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006162/0.177, allocations: 271 kB / 0.6646 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.177, allocations: 67.38 kB / 0.6647 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.1773, allocations: 290.9 kB / 0.6649 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.1774, allocations: 37.7 kB / 0.665 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.751e-05/0.1775, allocations: 89.14 kB / 0.6651 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.1775, allocations: 47.67 kB / 0.6651 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.1777, allocations: 101.8 kB / 0.6652 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1779, allocations: 330.8 kB / 0.6655 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1781, allocations: 92.17 kB / 0.6656 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.1784, allocations: 142.4 kB / 0.6657 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.1788, allocations: 250.5 kB / 0.666 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1788, allocations: 0 / 0.666 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007194/0.1795, allocations: 411.9 kB / 0.6664 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.544e-05/0.1796, allocations: 75.56 kB / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1796, allocations: 4 kB / 0.6664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1796, allocations: 4 kB / 0.6664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.1798, allocations: 27.92 kB / 0.6665 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1799, allocations: 7.938 kB / 0.6665 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.1804, allocations: 59.89 kB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.1805, allocations: 47.98 kB / 0.6666 GB, free: 6.086 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 (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.0002175/0.1807, allocations: 175.9 kB / 0.6668 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.1807, allocations: 31.75 kB / 0.6668 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.1808, allocations: 30.25 kB / 0.6668 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1808, allocations: 4 kB / 0.6668 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1808, allocations: 0 / 0.6668 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1808, allocations: 3.984 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008672/0.1817, allocations: 0.563 MB / 0.6674 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1817, allocations: 4 kB / 0.6674 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.1818, allocations: 8 kB / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1818, allocations: 0 / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.1818, allocations: 19.97 kB / 0.6674 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1818, allocations: 0 / 0.6674 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1818, allocations: 0 / 0.6674 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.1823, allocations: 331 kB / 0.6677 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.1825, allocations: 148.9 kB / 0.6679 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.1825, allocations: 8 kB / 0.6679 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1828, allocations: 19.98 kB / 0.6679 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1828, allocations: 15.97 kB / 0.6679 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.1829, allocations: 31.98 kB / 0.6679 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002146/0.1831, allocations: 209.9 kB / 0.6681 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1831, allocations: 0 / 0.6681 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003225/0.1834, allocations: 44 kB / 0.6682 GB, free: 4.359 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.0008443/0.1843, allocations: 0.8753 MB / 0.669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000606/0.1849, allocations: 342.6 kB / 0.6694 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1849, allocations: 0 / 0.6694 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1851, allocations: 67.91 kB / 0.6694 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1854, allocations: 39.42 kB / 0.6695 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.1887, allocations: 2.394 MB / 0.6718 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1891, allocations: 0.7396 MB / 0.6725 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.1892, allocations: 33.61 kB / 0.6725 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1894, allocations: 55.34 kB / 0.6726 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.1894, allocations: 0 / 0.6726 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2166, allocations: 5.266 MB / 0.6777 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.433/8.65, allocations: 11.38 kB / 0.6778 GB, free: 10.49 MB / 0.5137 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)