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.007352/0.007352, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001721/0.001721, allocations: 196.2 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7644/0.7644, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 67.59 kB / 0.5808 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003033/0.1512, allocations: 1.473 MB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1523, allocations: 419.3 kB / 0.661 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.1524, allocations: 4 kB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1526, allocations: 7.875 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1527, allocations: 28.22 kB / 0.661 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.1535, allocations: 247 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.1539, allocations: 319.5 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.154, allocations: 4 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.1543, allocations: 191.7 kB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1546, allocations: 110.5 kB / 0.6619 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.1547, allocations: 16 kB / 0.6619 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.1547, allocations: 20 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1549, allocations: 79.72 kB / 0.662 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.155, allocations: 127.4 kB / 0.6621 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1553, allocations: 278.6 kB / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1554, allocations: 0 / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1554, allocations: 0 / 0.6624 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.1554, allocations: 0 / 0.6624 GB, free: 7.477 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.001207/0.1566, allocations: 0.6963 MB / 0.663 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1566, allocations: 12.03 kB / 0.6631 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.1567, allocations: 38.73 kB / 0.6631 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.23e-05/0.1568, allocations: 36.66 kB / 0.6631 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1571, allocations: 271.4 kB / 0.6634 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.1572, allocations: 8.125 kB / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.1572, allocations: 27.92 kB / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1575, allocations: 141.5 kB / 0.6636 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1575, allocations: 0 / 0.6636 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1576, allocations: 4 kB / 0.6636 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1576, allocations: 7.984 kB / 0.6636 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1577, allocations: 43.97 kB / 0.6636 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.1581, allocations: 317.4 kB / 0.6639 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1583, allocations: 134.7 kB / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1585, allocations: 60.83 kB / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1585, allocations: 0 / 0.6641 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.159, allocations: 225.5 kB / 0.6643 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.159, allocations: 0 / 0.6643 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005546/0.1595, allocations: 265.2 kB / 0.6646 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1596, allocations: 63.39 kB / 0.6646 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.1599, allocations: 294.9 kB / 0.6649 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.1599, allocations: 37.7 kB / 0.6649 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.16, allocations: 93.12 kB / 0.665 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.1601, allocations: 43.5 kB / 0.6651 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.1602, allocations: 101.7 kB / 0.6652 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1604, allocations: 326.8 kB / 0.6655 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1606, allocations: 96.11 kB / 0.6656 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1608, allocations: 146.4 kB / 0.6657 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.1611, allocations: 244.1 kB / 0.6659 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.1611, allocations: 0 / 0.6659 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006504/0.1618, allocations: 412.5 kB / 0.6663 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.1619, allocations: 77.25 kB / 0.6664 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1619, allocations: 0 / 0.6664 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1619, allocations: 4 kB / 0.6664 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1621, allocations: 27.92 kB / 0.6664 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1621, allocations: 12.17 kB / 0.6665 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.1626, allocations: 59.8 kB / 0.6665 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.1627, allocations: 47.98 kB / 0.6666 GB, free: 2.836 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.0001744/0.1628, allocations: 172 kB / 0.6667 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1629, allocations: 27.66 kB / 0.6667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.163, allocations: 30.25 kB / 0.6668 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.163, allocations: 4 kB / 0.6668 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.163, allocations: 0 / 0.6668 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.163, allocations: 3.984 kB / 0.6668 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.1638, allocations: 0.5644 MB / 0.6673 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1638, allocations: 0 / 0.6673 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.1639, allocations: 8 kB / 0.6673 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1639, allocations: 3.938 kB / 0.6673 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.1639, allocations: 19.97 kB / 0.6674 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1639, allocations: 4 kB / 0.6674 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1639, allocations: 0 / 0.6674 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.1644, allocations: 321 kB / 0.6677 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.1646, allocations: 152.7 kB / 0.6678 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.1646, allocations: 12 kB / 0.6678 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1648, allocations: 15.92 kB / 0.6678 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.1649, allocations: 15.97 kB / 0.6679 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.165, allocations: 35.98 kB / 0.6679 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002829/0.1653, allocations: 209.9 kB / 0.6681 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1653, allocations: 0 / 0.6681 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003403/0.1656, allocations: 48 kB / 0.6681 GB, free: 1.109 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.0008017/0.1664, allocations: 0.8656 MB / 0.669 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006299/0.1671, allocations: 345 kB / 0.6693 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1671, allocations: 0 / 0.6693 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.1673, allocations: 79.89 kB / 0.6694 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1676, allocations: 28.86 kB / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.1707, allocations: 2.383 MB / 0.6717 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1711, allocations: 0.7418 MB / 0.6725 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000124/0.1712, allocations: 37.42 kB / 0.6725 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.1713, allocations: 47.41 kB / 0.6726 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.1714, allocations: 0 / 0.6726 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1944, allocations: 5.27 MB / 0.6777 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.67, allocations: 10.47 kB / 0.6777 GB, free: 7.23 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)