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.007193/0.007193, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001501/0.001501, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 0.5808 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4762, allocations: 80.21 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002414/0.4787, allocations: 1.476 MB / 0.6606 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.4797, allocations: 420.5 kB / 0.661 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.4797, allocations: 4 kB / 0.661 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.4799, allocations: 10.97 kB / 0.661 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.48, allocations: 22.8 kB / 0.6611 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.4807, allocations: 248.2 kB / 0.6613 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004024/0.4811, allocations: 315.5 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.4812, allocations: 5.781 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.4815, allocations: 193.6 kB / 0.6618 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.4818, allocations: 107.3 kB / 0.6619 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.833e-05/0.4819, allocations: 18.69 kB / 0.6619 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.346e-05/0.4819, allocations: 18.94 kB / 0.6619 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.4821, allocations: 80.88 kB / 0.662 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.4822, allocations: 127.1 kB / 0.6621 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.4826, allocations: 279.2 kB / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4826, allocations: 1.312 kB / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4826, allocations: 0 / 0.6624 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4826, allocations: 0 / 0.6624 GB, free: 7.965 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.00109/0.4837, allocations: 0.7028 MB / 0.6631 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4838, allocations: 14.59 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.4838, allocations: 40.02 kB / 0.6631 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.4839, allocations: 35.23 kB / 0.6632 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.4841, allocations: 267.2 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.4842, allocations: 19.39 kB / 0.6634 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.4842, allocations: 19.16 kB / 0.6634 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4845, allocations: 140 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.4845, allocations: 0 / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.4845, allocations: 9.141 kB / 0.6636 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4846, allocations: 2.219 kB / 0.6636 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4847, allocations: 46.31 kB / 0.6636 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.485, allocations: 315.1 kB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.4853, allocations: 129.6 kB / 0.6641 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.4854, allocations: 62.81 kB / 0.6641 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4854, allocations: 2.281 kB / 0.6641 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.4859, allocations: 222.9 kB / 0.6643 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.4859, allocations: 1.125 kB / 0.6643 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005677/0.4865, allocations: 264.7 kB / 0.6646 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4865, allocations: 60.22 kB / 0.6646 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.4868, allocations: 302.8 kB / 0.6649 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4868, allocations: 37.17 kB / 0.665 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.4869, allocations: 90.27 kB / 0.6651 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.487, allocations: 49.89 kB / 0.6651 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.4871, allocations: 107.8 kB / 0.6652 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.4872, allocations: 322.9 kB / 0.6655 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.4874, allocations: 98.02 kB / 0.6656 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.4876, allocations: 149.6 kB / 0.6657 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4879, allocations: 247.7 kB / 0.666 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4879, allocations: 0 / 0.666 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00062/0.4885, allocations: 408.1 kB / 0.6664 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.4886, allocations: 74.52 kB / 0.6664 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.4886, allocations: 5.141 kB / 0.6665 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4886, allocations: 3.188 kB / 0.6665 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4888, allocations: 28.55 kB / 0.6665 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4888, allocations: 6.844 kB / 0.6665 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.4893, allocations: 55.72 kB / 0.6665 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.4894, allocations: 50.02 kB / 0.6666 GB, free: 4.633 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.0001555/0.4896, allocations: 169.5 kB / 0.6668 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.4896, allocations: 35.47 kB / 0.6668 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.4897, allocations: 36.19 kB / 0.6668 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4897, allocations: 2.844 kB / 0.6668 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4897, allocations: 3.938 kB / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4897, allocations: 0 / 0.6668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.4904, allocations: 0.5665 MB / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4904, allocations: 0 / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.4905, allocations: 6.844 kB / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4905, allocations: 1.406 kB / 0.6674 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.4905, allocations: 13.3 kB / 0.6674 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4905, allocations: 9.266 kB / 0.6674 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4905, allocations: 0 / 0.6674 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.4909, allocations: 325.7 kB / 0.6677 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.491, allocations: 152.6 kB / 0.6679 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.4911, allocations: 7.844 kB / 0.6679 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.4913, allocations: 16.83 kB / 0.6679 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.4914, allocations: 12.42 kB / 0.6679 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.4914, allocations: 38.81 kB / 0.6679 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001922/0.4916, allocations: 206 kB / 0.6681 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4917, allocations: 0 / 0.6681 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003362/0.492, allocations: 50.7 kB / 0.6682 GB, free: 3.414 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.0006054/0.4926, allocations: 0.8788 MB / 0.669 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.4932, allocations: 338.1 kB / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4932, allocations: 0 / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4933, allocations: 75.3 kB / 0.6694 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4937, allocations: 24.81 kB / 0.6695 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.4964, allocations: 2.394 MB / 0.6718 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.4968, allocations: 0.7357 MB / 0.6725 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.497, allocations: 44.2 kB / 0.6726 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4971, allocations: 43.48 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/0.4971, allocations: 4 kB / 0.6726 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.5269, allocations: 5.276 MB / 0.6778 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.935, allocations: 16.61 kB / 0.6778 GB, free: 13.04 MB / 0.5137 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)