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.001634/0.001634, allocations: 96.25 kB / 15.05 MB, free: 1.113 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.002482/0.002482, allocations: 181.3 kB / 15.95 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.465/2.465, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.329/1.329, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005701/0.0005702, allocations: 15.92 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9345/0.9351, allocations: 81.56 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.003122/0.9383, allocations: 1.18 MB / 0.5841 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.9399, allocations: 385.8 kB / 0.5845 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.94, allocations: 4.5 kB / 0.5845 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.743e-05/0.9401, allocations: 1.547 kB / 0.5845 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.9403, allocations: 25.81 kB / 0.5845 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.9415, allocations: 209.1 kB / 0.5847 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.9419, allocations: 147.3 kB / 0.5848 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.942, allocations: 13.61 kB / 0.5849 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005485/0.9426, allocations: 165.2 kB / 0.585 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.943, allocations: 124.4 kB / 0.5851 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.9431, allocations: 9.281 kB / 0.5851 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.9432, allocations: 10.06 kB / 0.5852 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.9434, allocations: 74.06 kB / 0.5852 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.9436, allocations: 73.89 kB / 0.5853 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.9442, allocations: 202.4 kB / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9442, allocations: 0 / 0.5855 GB, free: 2.535 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.9442, allocations: 5.406 kB / 0.5855 GB, free: 2.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.9442, allocations: 0 / 0.5855 GB, free: 2.531 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.001681/0.9459, allocations: 0.6214 MB / 0.5861 GB, free: 1.945 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.865e-05/0.946, allocations: 10.41 kB / 0.5861 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.488e-05/0.9461, allocations: 39.2 kB / 0.5862 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.9463, allocations: 34.92 kB / 0.5862 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.9468, allocations: 248.8 kB / 0.5864 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.9469, allocations: 17.86 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.947, allocations: 16.12 kB / 0.5865 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.9476, allocations: 152 kB / 0.5866 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.9476, allocations: 0 / 0.5866 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.9476, allocations: 6.375 kB / 0.5866 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.9477, allocations: 2.25 kB / 0.5866 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.9479, allocations: 44.72 kB / 0.5866 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.9485, allocations: 316.1 kB / 0.587 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.949, allocations: 131.1 kB / 0.5871 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.949, allocations: 2.25 kB / 0.5871 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008845/0.9499, allocations: 219 kB / 0.5873 GB, free: 1.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.9499, allocations: 0.9062 kB / 0.5873 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001066/0.951, allocations: 272.4 kB / 0.5875 GB, free: 1.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.9511, allocations: 61.45 kB / 0.5876 GB, free: 1.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.9517, allocations: 288.5 kB / 0.5879 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.9518, allocations: 37.81 kB / 0.5879 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.9519, allocations: 91.2 kB / 0.588 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.952, allocations: 51.88 kB / 0.5881 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.9521, allocations: 8.453 kB / 0.5881 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9522, allocations: 325.3 kB / 0.5884 GB, free: 372 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.9526, allocations: 94.47 kB / 0.5885 GB, free: 340 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.953, allocations: 143.1 kB / 0.5886 GB, free: 252 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.9534, allocations: 156.5 kB / 0.5887 GB, free: 140 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9535, allocations: 0 / 0.5887 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001355/0.9548, allocations: 412 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.955, allocations: 76.42 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.955, allocations: 9.531 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.9551, allocations: 3.984 kB / 0.5892 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.9554, allocations: 26.75 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.9554, allocations: 3.406 kB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.9563, allocations: 73.89 kB / 0.5893 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.9564, allocations: 55.28 kB / 0.5894 GB, free: 15.85 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.0004372/0.9569, allocations: 175.2 kB / 0.5895 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.831e-05/0.957, allocations: 25.08 kB / 0.5896 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.9571, allocations: 26.58 kB / 0.5896 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.9572, allocations: 2.797 kB / 0.5896 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.9572, allocations: 0 / 0.5896 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.9572, allocations: 1.984 kB / 0.5896 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.9589, allocations: 0.5632 MB / 0.5901 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.9589, allocations: 1.25 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.959, allocations: 7.625 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.959, allocations: 0.9375 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/0.9591, allocations: 15.78 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.9591, allocations: 2.094 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9591, allocations: 0 / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.96, allocations: 330.4 kB / 0.5905 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/0.9604, allocations: 158.1 kB / 0.5906 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/0.9605, allocations: 9.625 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.9608, allocations: 12.23 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.9609, allocations: 14.11 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.9611, allocations: 37.17 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004934/0.9616, allocations: 206.5 kB / 0.5909 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9616, allocations: 0 / 0.5909 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006807/0.9623, allocations: 55.86 kB / 0.591 GB, free: 14.82 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.001351/0.9636, allocations: 0.8636 MB / 0.5918 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.9647, allocations: 343.6 kB / 0.5921 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9647, allocations: 4.062 kB / 0.5921 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.9649, allocations: 69.69 kB / 0.5922 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.9654, allocations: 19.52 kB / 0.5922 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.9678, allocations: 1.601 MB / 0.5938 GB, free: 12.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.9686, allocations: 0.7512 MB / 0.5945 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002961/0.9689, allocations: 35.55 kB / 0.5946 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.9692, allocations: 47.47 kB / 0.5946 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.934e-06/0.9692, allocations: 0 / 0.5946 GB, free: 11.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/1, allocations: 4.929 MB / 0.5994 GB, free: 9.977 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000409/1.001, allocations: 179.6 kB / 0.5996 GB, free: 9.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/3.898, allocations: 0 / 0.5996 GB, free: 9.73 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: