Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9749/0.9749, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 61.25 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1968, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003407/0.2002, allocations: 1.478 MB / 0.5859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2015, allocations: 421 kB / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.2015, allocations: 0 / 0.5863 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.2017, allocations: 7.922 kB / 0.5863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.55e-05/0.2018, allocations: 16.25 kB / 0.5863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.2026, allocations: 248.7 kB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.203, allocations: 315.5 kB / 0.5869 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.203, allocations: 8 kB / 0.5869 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.2034, allocations: 187.7 kB / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2036, allocations: 100.1 kB / 0.5872 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.2037, allocations: 20 kB / 0.5872 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.2038, allocations: 20 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2039, allocations: 79.77 kB / 0.5873 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.204, allocations: 119.4 kB / 0.5874 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.2044, allocations: 295.3 kB / 0.5877 GB, free: 1.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2044, allocations: 3.938 kB / 0.5877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2044, allocations: 0 / 0.5877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.2044, allocations: 0 / 0.5877 GB, free: 1.121 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.001308/0.2058, allocations: 0.696 MB / 0.5883 GB, free: 360 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2058, allocations: 16.02 kB / 0.5884 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.2059, allocations: 30.75 kB / 0.5884 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.206, allocations: 40.59 kB / 0.5884 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.2064, allocations: 259.6 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.2064, allocations: 16.12 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.994e-05/0.2065, allocations: 15.98 kB / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.2068, allocations: 153.5 kB / 0.5889 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2068, allocations: 0 / 0.5889 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2068, allocations: 0 / 0.5889 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2068, allocations: 4 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.207, allocations: 43.97 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.2074, allocations: 309.3 kB / 0.5892 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.2077, allocations: 138.6 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2078, allocations: 64.77 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2078, allocations: 7.938 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.2083, allocations: 207.6 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.2084, allocations: 0 / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005839/0.2089, allocations: 275.2 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.209, allocations: 63.31 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.2093, allocations: 286.9 kB / 0.5902 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.2094, allocations: 45.69 kB / 0.5902 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.2094, allocations: 89.12 kB / 0.5903 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.2095, allocations: 39.52 kB / 0.5904 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2097, allocations: 113.7 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2098, allocations: 322.8 kB / 0.5908 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2101, allocations: 96.17 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.2104, allocations: 151.7 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.2108, allocations: 247.1 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.2108, allocations: 3.984 kB / 0.5912 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007453/0.2115, allocations: 418.1 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.877e-05/0.2116, allocations: 75.38 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2116, allocations: 4 kB / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.2117, allocations: 0 / 0.5917 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.2118, allocations: 35.86 kB / 0.5918 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2119, allocations: 0 / 0.5918 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.2124, allocations: 67.91 kB / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.2125, allocations: 51.98 kB / 0.5919 GB, free: 12.48 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.0002044/0.2127, allocations: 164 kB / 0.592 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2128, allocations: 27.66 kB / 0.5921 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.2128, allocations: 34.25 kB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2128, allocations: 0 / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2129, allocations: 0 / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2129, allocations: 7.984 kB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.2137, allocations: 0.5705 MB / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2137, allocations: 0 / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.2137, allocations: 8 kB / 0.5927 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2138, allocations: 0 / 0.5927 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.2138, allocations: 15.97 kB / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.2138, allocations: 4 kB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2138, allocations: 3.938 kB / 0.5927 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.2142, allocations: 319 kB / 0.593 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.2144, allocations: 156.6 kB / 0.5931 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.2145, allocations: 8 kB / 0.5931 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.2147, allocations: 19.92 kB / 0.5932 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.2148, allocations: 15.97 kB / 0.5932 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.2148, allocations: 35.92 kB / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00019/0.215, allocations: 209.9 kB / 0.5934 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.215, allocations: 0 / 0.5934 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003232/0.2153, allocations: 44 kB / 0.5935 GB, free: 10.76 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.0007956/0.2161, allocations: 0.8736 MB / 0.5943 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006021/0.2168, allocations: 350.8 kB / 0.5946 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2168, allocations: 4.375 kB / 0.5946 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.2169, allocations: 81.3 kB / 0.5947 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2173, allocations: 20.88 kB / 0.5947 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.2209, allocations: 2.382 MB / 0.5971 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.2214, allocations: 0.7434 MB / 0.5978 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.2216, allocations: 41.41 kB / 0.5978 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.2217, allocations: 51.41 kB / 0.5979 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.2217, allocations: 0 / 0.5979 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2457, allocations: 5.247 MB / 0.603 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.012, allocations: 0.5938 kB / 0.603 GB, free: 0.8945 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)