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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001666/0.001666, allocations: 190.1 kB / 16.14 MB, free: 6.715 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.777/0.777, allocations: 132.2 MB / 422.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001133, allocations: 59.69 kB / 0.5012 GB, free: 9.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 80.2 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.004154/0.1313, allocations: 1.527 MB / 0.581 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1335, allocations: 447.3 kB / 0.5814 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1337, allocations: 0 / 0.5814 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.134, allocations: 7.922 kB / 0.5814 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1342, allocations: 24.23 kB / 0.5814 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1352, allocations: 221.6 kB / 0.5816 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.1356, allocations: 291.8 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.313e-05/0.1357, allocations: 11.97 kB / 0.5819 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.1361, allocations: 214.3 kB / 0.5821 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1364, allocations: 119.6 kB / 0.5823 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.791e-05/0.1365, allocations: 11.94 kB / 0.5823 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.594e-05/0.1366, allocations: 12 kB / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1367, allocations: 79.77 kB / 0.5824 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.137, allocations: 119.3 kB / 0.5825 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.1374, allocations: 279.3 kB / 0.5827 GB, free: 5.797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1375, allocations: 0 / 0.5827 GB, free: 5.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1375, allocations: 0 / 0.5827 GB, free: 5.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1375, allocations: 4 kB / 0.5827 GB, free: 5.793 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.001812/0.1393, allocations: 0.7014 MB / 0.5834 GB, free: 5.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/0.1394, allocations: 16.03 kB / 0.5834 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/0.1395, allocations: 38.55 kB / 0.5835 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1396, allocations: 31.72 kB / 0.5835 GB, free: 4.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.14, allocations: 258.2 kB / 0.5838 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.1401, allocations: 15.98 kB / 0.5838 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.1402, allocations: 12 kB / 0.5838 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.1406, allocations: 156 kB / 0.5839 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1407, allocations: 0 / 0.5839 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.1407, allocations: 7.984 kB / 0.5839 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1407, allocations: 0 / 0.5839 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.141, allocations: 51.97 kB / 0.584 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.1414, allocations: 313.3 kB / 0.5843 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.1418, allocations: 122.7 kB / 0.5844 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.142, allocations: 56.83 kB / 0.5845 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1421, allocations: 4 kB / 0.5845 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006366/0.1427, allocations: 225.8 kB / 0.5847 GB, free: 3.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.1428, allocations: 4 kB / 0.5847 GB, free: 3.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.000792/0.1436, allocations: 269.1 kB / 0.5849 GB, free: 3.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1436, allocations: 67.39 kB / 0.585 GB, free: 3.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.144, allocations: 290.9 kB / 0.5853 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.317e-05/0.1441, allocations: 37.7 kB / 0.5853 GB, free: 2.934 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1442, allocations: 93.14 kB / 0.5854 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.1443, allocations: 39.5 kB / 0.5854 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.1446, allocations: 105.7 kB / 0.5855 GB, free: 2.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1448, allocations: 322.8 kB / 0.5858 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.1451, allocations: 100.2 kB / 0.5859 GB, free: 2.266 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1455, allocations: 155.3 kB / 0.5861 GB, free: 2.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.146, allocations: 239.6 kB / 0.5863 GB, free: 1.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.146, allocations: 7.875 kB / 0.5863 GB, free: 1.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008626/0.1469, allocations: 414.5 kB / 0.5867 GB, free: 1.398 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.147, allocations: 71.39 kB / 0.5868 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.147, allocations: 0 / 0.5868 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.147, allocations: 12.06 kB / 0.5868 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.1473, allocations: 35.91 kB / 0.5868 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1473, allocations: 4 kB / 0.5868 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.1482, allocations: 59.8 kB / 0.5869 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.1483, allocations: 51.98 kB / 0.5869 GB, free: 1.156 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.0002733/0.1486, allocations: 176 kB / 0.5871 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.1487, allocations: 31.61 kB / 0.5871 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.1488, allocations: 30.19 kB / 0.5872 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1488, allocations: 4 kB / 0.5872 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1488, allocations: 0 / 0.5872 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1488, allocations: 0 / 0.5872 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1499, allocations: 0.563 MB / 0.5877 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1499, allocations: 0 / 0.5877 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1499, allocations: 11.98 kB / 0.5877 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.15, allocations: 4 kB / 0.5877 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.15, allocations: 15.98 kB / 0.5878 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.15, allocations: 0 / 0.5878 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.15, allocations: 0 / 0.5878 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.1506, allocations: 326.9 kB / 0.5881 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.1509, allocations: 148.7 kB / 0.5882 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.151, allocations: 15.98 kB / 0.5882 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.1514, allocations: 15.98 kB / 0.5882 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.1514, allocations: 11.98 kB / 0.5883 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.1515, allocations: 31.98 kB / 0.5883 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002774/0.1518, allocations: 209.9 kB / 0.5885 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1518, allocations: 0 / 0.5885 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005405/0.1524, allocations: 51.98 kB / 0.5885 GB, free: 15.42 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.001072/0.1535, allocations: 0.8664 MB / 0.5894 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005653/0.154, allocations: 342.5 kB / 0.5897 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.154, allocations: 0 / 0.5897 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1542, allocations: 75.91 kB / 0.5898 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1546, allocations: 21.97 kB / 0.5898 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.1575, allocations: 2.457 MB / 0.5922 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1578, allocations: 0.744 MB / 0.5929 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.1579, allocations: 37.44 kB / 0.593 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1581, allocations: 47.34 kB / 0.593 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of SimCode: time 6.42e-07/0.1581, allocations: 0 / 0.593 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.1736, allocations: 5.08 MB / 0.598 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.1738, allocations: 183.6 kB / 0.5981 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.079, allocations: 0 / 0.5981 GB, free: 5.465 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)