Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_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.001026/0.001026, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001321/0.001321, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9414/0.9414, allocations: 135.3 MB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004524, allocations: 9.062 kB / 0.5071 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1929, allocations: 82.3 MB / 0.5875 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002247/0.1952, allocations: 1.176 MB / 0.5886 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1965, allocations: 403.3 kB / 0.589 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1966, allocations: 0 / 0.589 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1968, allocations: 7.922 kB / 0.589 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.1969, allocations: 27.84 kB / 0.589 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.1978, allocations: 203.6 kB / 0.5892 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1981, allocations: 239.6 kB / 0.5895 GB, free: 1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.1982, allocations: 8 kB / 0.5895 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.1986, allocations: 215.6 kB / 0.5897 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1988, allocations: 135.7 kB / 0.5898 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.1989, allocations: 16 kB / 0.5898 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.449e-05/0.1989, allocations: 8 kB / 0.5898 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1991, allocations: 75.78 kB / 0.5899 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.422e-05/0.1992, allocations: 73.52 kB / 0.59 GB, free: 484 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1994, allocations: 195.9 kB / 0.5901 GB, free: 288 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1994, allocations: 0 / 0.5901 GB, free: 288 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1994, allocations: 0 / 0.5901 GB, free: 288 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1994, allocations: 0 / 0.5901 GB, free: 288 kB / 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.001106/0.2005, allocations: 0.6258 MB / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2006, allocations: 8.031 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.2006, allocations: 42.5 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.2007, allocations: 35.66 kB / 0.5908 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.2011, allocations: 254.5 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.2011, allocations: 11.98 kB / 0.5911 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.2012, allocations: 23.94 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.2015, allocations: 148.6 kB / 0.5913 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2015, allocations: 4 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.2016, allocations: 4 kB / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2016, allocations: 0 / 0.5913 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.2017, allocations: 51.91 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.2021, allocations: 313.3 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.2024, allocations: 122.7 kB / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2026, allocations: 61.2 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.2026, allocations: 7.938 kB / 0.5918 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.2032, allocations: 211.6 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.2032, allocations: 0 / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005826/0.2038, allocations: 271.2 kB / 0.5923 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2038, allocations: 63.39 kB / 0.5923 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2042, allocations: 298.8 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.2042, allocations: 33.7 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.2043, allocations: 93.14 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.2044, allocations: 35.52 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.2044, allocations: 11.98 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2046, allocations: 326.8 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.2048, allocations: 100.1 kB / 0.5932 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.205, allocations: 146.4 kB / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.2053, allocations: 157.9 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2053, allocations: 0 / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007071/0.206, allocations: 415 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/0.2061, allocations: 75.39 kB / 0.5939 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2061, allocations: 7.984 kB / 0.5939 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2062, allocations: 0 / 0.5939 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2063, allocations: 31.91 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2064, allocations: 4.188 kB / 0.594 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.2069, allocations: 75.19 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.207, allocations: 51.98 kB / 0.5941 GB, free: 11.93 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.2072, allocations: 183.9 kB / 0.5943 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.2072, allocations: 23.72 kB / 0.5943 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.2073, allocations: 26.25 kB / 0.5943 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2073, allocations: 4 kB / 0.5943 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2073, allocations: 0 / 0.5943 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2073, allocations: 0 / 0.5943 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008464/0.2082, allocations: 0.5645 MB / 0.5949 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2082, allocations: 4 kB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.2082, allocations: 15.94 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2083, allocations: 0 / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.2083, allocations: 11.97 kB / 0.5949 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2083, allocations: 4 kB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2083, allocations: 3.938 kB / 0.5949 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.2087, allocations: 320.8 kB / 0.5952 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.2089, allocations: 156.7 kB / 0.5954 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.209, allocations: 12 kB / 0.5954 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2092, allocations: 15.98 kB / 0.5954 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.2092, allocations: 19.97 kB / 0.5954 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.2093, allocations: 27.98 kB / 0.5954 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001939/0.2095, allocations: 205.9 kB / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2095, allocations: 0 / 0.5956 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00031/0.2098, allocations: 51.95 kB / 0.5957 GB, free: 10.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008225/0.2106, allocations: 0.8673 MB / 0.5965 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005727/0.2112, allocations: 341.2 kB / 0.5969 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2112, allocations: 0 / 0.5969 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2114, allocations: 75.89 kB / 0.5969 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.2118, allocations: 25.25 kB / 0.597 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.2138, allocations: 1.168 MB / 0.5981 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.2142, allocations: 0.7477 MB / 0.5988 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.2144, allocations: 37.42 kB / 0.5989 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2145, allocations: 47.41 kB / 0.5989 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.2146, allocations: 0 / 0.5989 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.2314, allocations: 4.975 MB / 0.6038 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.2316, allocations: 191.9 kB / 0.604 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.183, allocations: 0 / 0.604 GB, free: 1.727 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: