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.0009072/0.0009075, allocations: 86.41 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.001024/0.001023, 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.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7845/0.7845, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 12.56 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4317, allocations: 81.58 MB / 0.5832 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001512/0.4332, allocations: 1.181 MB / 0.5843 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000885/0.4341, allocations: 404.3 kB / 0.5847 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.4342, allocations: 0.6562 kB / 0.5847 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.486e-05/0.4343, allocations: 6.469 kB / 0.5847 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.4344, allocations: 22.38 kB / 0.5847 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.435, allocations: 215.7 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.4353, allocations: 241.3 kB / 0.5852 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.4354, allocations: 5.969 kB / 0.5852 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.4358, allocations: 219.1 kB / 0.5854 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.436, allocations: 130.2 kB / 0.5855 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.436, allocations: 9.406 kB / 0.5855 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.755e-05/0.4361, allocations: 10.03 kB / 0.5855 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.4362, allocations: 85.47 kB / 0.5856 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.4363, allocations: 65.27 kB / 0.5857 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.4366, allocations: 210.3 kB / 0.5859 GB, free: 2.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4366, allocations: 0.75 kB / 0.5859 GB, free: 2.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4366, allocations: 0 / 0.5859 GB, free: 2.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.4366, allocations: 3.938 kB / 0.5859 GB, free: 2.43 MB / 430.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.0009001/0.4375, allocations: 0.6183 MB / 0.5865 GB, free: 1.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4376, allocations: 8.781 kB / 0.5865 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.4376, allocations: 43.39 kB / 0.5865 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.064e-05/0.4377, allocations: 34.67 kB / 0.5865 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.438, allocations: 254.2 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.438, allocations: 8.531 kB / 0.5868 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.4381, allocations: 20.47 kB / 0.5868 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.4384, allocations: 145.1 kB / 0.587 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4384, allocations: 0 / 0.587 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.4384, allocations: 1.5 kB / 0.587 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4384, allocations: 6.125 kB / 0.587 GB, free: 1.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.4386, allocations: 53.58 kB / 0.587 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.4389, allocations: 311.7 kB / 0.5873 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.4392, allocations: 126.5 kB / 0.5874 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4393, allocations: 57.03 kB / 0.5875 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4393, allocations: 7.359 kB / 0.5875 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004776/0.4398, allocations: 216.6 kB / 0.5877 GB, free: 1.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.4398, allocations: 0 / 0.5877 GB, free: 1.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006232/0.4404, allocations: 275.2 kB / 0.588 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4405, allocations: 59.06 kB / 0.588 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.4408, allocations: 292.6 kB / 0.5883 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.4409, allocations: 37.53 kB / 0.5883 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.4409, allocations: 91.69 kB / 0.5884 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.441, allocations: 46.25 kB / 0.5885 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.441, allocations: 9.297 kB / 0.5885 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.4411, allocations: 321.3 kB / 0.5888 GB, free: 256 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.4413, allocations: 98.48 kB / 0.5889 GB, free: 220 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.4416, allocations: 148.2 kB / 0.589 GB, free: 128 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.4418, allocations: 155.4 kB / 0.5892 GB, free: 16 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4419, allocations: 0 / 0.5892 GB, free: 16 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008012/0.4427, allocations: 412.7 kB / 0.5896 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.4427, allocations: 77.08 kB / 0.5896 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4428, allocations: 1.219 kB / 0.5896 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4428, allocations: 6.516 kB / 0.5896 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.443, allocations: 27.36 kB / 0.5897 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.443, allocations: 3.328 kB / 0.5897 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.4435, allocations: 73.31 kB / 0.5897 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.4436, allocations: 55.55 kB / 0.5898 GB, free: 15.73 MB / 446.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 ($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.0002288/0.4439, allocations: 175.2 kB / 0.59 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.4439, allocations: 28.12 kB / 0.59 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.444, allocations: 32.64 kB / 0.59 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.444, allocations: 1.906 kB / 0.59 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.444, allocations: 0 / 0.59 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.444, allocations: 2.062 kB / 0.59 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009034/0.4449, allocations: 0.5597 MB / 0.5906 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4449, allocations: 0.75 kB / 0.5906 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.445, allocations: 12.33 kB / 0.5906 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.445, allocations: 1.094 kB / 0.5906 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.4451, allocations: 11.39 kB / 0.5906 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4451, allocations: 2.078 kB / 0.5906 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/0.4451, allocations: 3.953 kB / 0.5906 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.4456, allocations: 322 kB / 0.5909 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.4458, allocations: 154.9 kB / 0.591 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.4459, allocations: 9.547 kB / 0.5911 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.4461, allocations: 14.84 kB / 0.5911 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.4462, allocations: 23.41 kB / 0.5911 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/0.4462, allocations: 28.28 kB / 0.5911 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.4465, allocations: 206.9 kB / 0.5913 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4465, allocations: 0 / 0.5913 GB, free: 14.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.4469, allocations: 52.47 kB / 0.5914 GB, free: 14.71 MB / 446.1 MB 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.0008077/0.4477, allocations: 0.8637 MB / 0.5922 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000625/0.4483, allocations: 341.4 kB / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4483, allocations: 0 / 0.5925 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.4485, allocations: 70.86 kB / 0.5926 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4488, allocations: 28.98 kB / 0.5926 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.4511, allocations: 1.159 MB / 0.5938 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.4515, allocations: 0.7484 MB / 0.5945 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000162/0.4517, allocations: 34.58 kB / 0.5945 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4518, allocations: 47.08 kB / 0.5946 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4518, allocations: 0 / 0.5946 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.4714, allocations: 4.972 MB / 0.5994 GB, free: 10.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.4716, allocations: 182.4 kB / 0.5996 GB, free: 10.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.322, allocations: 0 / 0.5996 GB, free: 10.26 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: