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.0007953/0.0007952, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005322/0.005322, allocations: 170 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7834/0.7834, allocations: 132.3 MB / 423.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.000331, allocations: 11.94 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.442, allocations: 81.57 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.00148/0.4435, allocations: 1.205 MB / 0.5849 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.4446, allocations: 434.3 kB / 0.5853 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.4446, allocations: 0.9688 kB / 0.5853 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.4447, allocations: 5.859 kB / 0.5853 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4448, allocations: 28.92 kB / 0.5854 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.4454, allocations: 220.3 kB / 0.5856 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.4457, allocations: 283.8 kB / 0.5858 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.4458, allocations: 10.03 kB / 0.5859 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.4461, allocations: 217.2 kB / 0.5861 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.4463, allocations: 112.4 kB / 0.5862 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.4464, allocations: 13.75 kB / 0.5862 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.4465, allocations: 10.59 kB / 0.5862 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4466, allocations: 75.33 kB / 0.5863 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.4467, allocations: 143.9 kB / 0.5864 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.4471, allocations: 282.4 kB / 0.5867 GB, free: 2.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4471, allocations: 1.25 kB / 0.5867 GB, free: 2.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4471, allocations: 0 / 0.5867 GB, free: 2.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4471, allocations: 0 / 0.5867 GB, free: 2.195 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.0009223/0.4481, allocations: 0.6201 MB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4481, allocations: 9.906 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.4482, allocations: 38.47 kB / 0.5873 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.4483, allocations: 31.55 kB / 0.5874 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.4485, allocations: 260.2 kB / 0.5876 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.4485, allocations: 9.609 kB / 0.5876 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.4486, allocations: 24.53 kB / 0.5876 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.4489, allocations: 149.1 kB / 0.5878 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.449, allocations: 4 kB / 0.5878 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.449, allocations: 1.828 kB / 0.5878 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.449, allocations: 1.969 kB / 0.5878 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.4491, allocations: 50 kB / 0.5878 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.4495, allocations: 316 kB / 0.5881 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.4498, allocations: 131.2 kB / 0.5883 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.4499, allocations: 53.59 kB / 0.5883 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4499, allocations: 6.594 kB / 0.5883 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004592/0.4504, allocations: 226.3 kB / 0.5885 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.4504, allocations: 0 / 0.5885 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005972/0.451, allocations: 273.3 kB / 0.5888 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.451, allocations: 62.41 kB / 0.5888 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.4513, allocations: 291.7 kB / 0.5891 GB, free: 488 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.4514, allocations: 38.34 kB / 0.5892 GB, free: 452 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.4514, allocations: 94.19 kB / 0.5893 GB, free: 360 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.4515, allocations: 40.41 kB / 0.5893 GB, free: 332 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.4516, allocations: 41.08 kB / 0.5893 GB, free: 300 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.4516, allocations: 323 kB / 0.5896 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.4519, allocations: 90.61 kB / 0.5897 GB, free: 15.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.4522, allocations: 144.7 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.4525, allocations: 248.7 kB / 0.5901 GB, free: 15.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.4526, allocations: 3.938 kB / 0.5901 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007769/0.4533, allocations: 413.6 kB / 0.5905 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.4534, allocations: 77.19 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4535, allocations: 1.5 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4535, allocations: 6.562 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4537, allocations: 27.44 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4537, allocations: 3.031 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.4542, allocations: 70.39 kB / 0.5907 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.4543, allocations: 58.11 kB / 0.5907 GB, free: 15.39 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 (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.0002094/0.4545, allocations: 171.8 kB / 0.5909 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.4546, allocations: 31.91 kB / 0.5909 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.4547, allocations: 41.66 kB / 0.591 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4547, allocations: 1.094 kB / 0.591 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4547, allocations: 1.375 kB / 0.591 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4547, allocations: 1.359 kB / 0.591 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008706/0.4556, allocations: 0.554 MB / 0.5915 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4556, allocations: 1.344 kB / 0.5915 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4556, allocations: 8.109 kB / 0.5915 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4556, allocations: 0.8438 kB / 0.5915 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.4557, allocations: 16.09 kB / 0.5915 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4557, allocations: 0.6875 kB / 0.5915 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4557, allocations: 0.9062 kB / 0.5915 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.4562, allocations: 325.3 kB / 0.5918 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.4564, allocations: 162.1 kB / 0.592 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.4564, allocations: 10.12 kB / 0.592 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4566, allocations: 12.3 kB / 0.592 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.4567, allocations: 20.88 kB / 0.592 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.4568, allocations: 28.64 kB / 0.5921 GB, free: 14.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.457, allocations: 208.2 kB / 0.5923 GB, free: 14.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.457, allocations: 1.375 kB / 0.5923 GB, free: 14.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.4573, allocations: 51.27 kB / 0.5923 GB, free: 14.36 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 (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.0007333/0.4581, allocations: 0.864 MB / 0.5932 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000589/0.4587, allocations: 347.8 kB / 0.5935 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4587, allocations: 0 / 0.5935 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.4589, allocations: 75.5 kB / 0.5936 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.4592, allocations: 26.75 kB / 0.5936 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.4625, allocations: 2.453 MB / 0.596 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.4628, allocations: 0.7466 MB / 0.5967 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.463, allocations: 34.83 kB / 0.5968 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.4631, allocations: 50.81 kB / 0.5968 GB, free: 10.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4631, allocations: 0 / 0.5968 GB, free: 10.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/0.6248, allocations: 4.981 MB / 0.6017 GB, free: 8.957 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002642/0.6251, allocations: 191.5 kB / 0.6018 GB, free: 8.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.311, allocations: 1.188 kB / 0.6018 GB, free: 8.703 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/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)