Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008396/0.0008396, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00096/0.00096, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9314/0.9314, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7727/0.7727, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.31 kB / 0.7181 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5286, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001867/0.5305, allocations: 1.527 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009554/0.5314, allocations: 0.5288 MB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.5315, allocations: 1.219 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.607e-05/0.5316, allocations: 13.8 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.5317, allocations: 26.41 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.5324, allocations: 315.6 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005308/0.5329, allocations: 490.4 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.533, allocations: 7.844 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.5333, allocations: 274.4 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.5336, allocations: 137.1 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.5336, allocations: 25.75 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.5337, allocations: 26.47 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.5338, allocations: 121 kB / 0.8212 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.534, allocations: 158.7 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.5344, allocations: 428.1 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5344, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5344, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.5345, allocations: 1.219 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB 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.001161/0.5356, allocations: 0.798 MB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.5357, allocations: 10 kB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.5357, allocations: 34.8 kB / 0.8225 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5359, allocations: 51.88 kB / 0.8226 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5361, allocations: 258.1 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.5362, allocations: 17.84 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.5362, allocations: 26 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.5368, allocations: 222.9 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5368, allocations: 4.547 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.5368, allocations: 5.781 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5368, allocations: 2.188 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.5372, allocations: 100.2 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.5375, allocations: 310.3 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.5381, allocations: 161 kB / 0.8236 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.5385, allocations: 103.5 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.5385, allocations: 3.031 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.5391, allocations: 232.4 kB / 0.824 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.5391, allocations: 7.984 kB / 0.824 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001411/0.5405, allocations: 483.5 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5405, allocations: 65.05 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.5408, allocations: 406.7 kB / 0.8249 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.5409, allocations: 43.78 kB / 0.8249 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/0.5409, allocations: 96 kB / 0.825 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.541, allocations: 37.23 kB / 0.8251 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.5411, allocations: 131.7 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.5412, allocations: 322.5 kB / 0.8255 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5414, allocations: 188.3 kB / 0.8257 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.5417, allocations: 248.8 kB / 0.8259 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.542, allocations: 273.9 kB / 0.8262 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.542, allocations: 9.25 kB / 0.8262 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006094/0.5426, allocations: 0.5437 MB / 0.8267 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/0.5427, allocations: 85.28 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5427, allocations: 5.656 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.5427, allocations: 2.969 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5428, allocations: 28.69 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5428, allocations: 2.312 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5431, allocations: 62.69 kB / 0.8269 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.5432, allocations: 57.5 kB / 0.8269 GB, free: 11.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.00018/0.5433, allocations: 200.2 kB / 0.8271 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.5434, allocations: 40.53 kB / 0.8272 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.5434, allocations: 41.3 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.5434, allocations: 3.844 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5434, allocations: 0 / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5434, allocations: 0.5625 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.5451, allocations: 0.7131 MB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5451, allocations: 0 / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.5451, allocations: 5.469 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5451, allocations: 2.234 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.5452, allocations: 17.17 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5452, allocations: 4.938 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5452, allocations: 1.812 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.5462, allocations: 481.3 kB / 0.8284 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.5464, allocations: 137 kB / 0.8285 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.5465, allocations: 10.73 kB / 0.8285 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.5467, allocations: 28.86 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.5468, allocations: 15.48 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.5468, allocations: 60.53 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002888/0.5471, allocations: 294.8 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5471, allocations: 0 / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002505/0.5474, allocations: 66.03 kB / 0.829 GB, free: 10.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001127/0.5485, allocations: 1.035 MB / 0.83 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007466/0.5493, allocations: 467 kB / 0.8304 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5493, allocations: 1.094 kB / 0.8304 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.5496, allocations: 117.8 kB / 0.8305 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.5499, allocations: 25.66 kB / 0.8306 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.5529, allocations: 3.096 MB / 0.8336 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.553, allocations: 169.4 kB / 0.8338 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.663e-05/0.5531, allocations: 19.11 kB / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.5532, allocations: 24.75 kB / 0.8338 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5532, allocations: 0 / 0.8338 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.5747, allocations: 7.958 MB / 0.8416 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.68, allocations: 5.5 kB / 0.8416 GB, free: 3.93 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.55516848526895] Failed to read output from testmodel.py, exit status != 0: 7.762795029673725 7.781251524 7.244450102 Calling exit ...