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.0007791/0.0007791, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009081/0.0009081, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8739/0.8739, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7029/0.7029, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.065e-05, allocations: 4.953 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002147/0.002168, allocations: 1.516 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003192, allocations: 0.5303 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.003277, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.003389, allocations: 7.875 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.003518, allocations: 35.62 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.004384, allocations: 325.5 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.004901, allocations: 487.4 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.004956, allocations: 4 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.005418, allocations: 355.6 kB / 0.6212 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.005677, allocations: 127.7 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.005733, allocations: 31.94 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.932e-05/0.005782, allocations: 24 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.005896, allocations: 123.7 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.006025, allocations: 127.7 kB / 0.6216 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.006403, allocations: 462.7 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.006407, allocations: 0 / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.006409, allocations: 0 / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.006415, allocations: 3.938 kB / 0.622 GB, free: 9.648 MB / 0.5886 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.0009996/0.007415, allocations: 0.7912 MB / 0.6228 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.007464, allocations: 13.47 kB / 0.6228 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.399e-05/0.007508, allocations: 34.75 kB / 0.6229 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.007612, allocations: 64.64 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006673/0.008279, allocations: 252 kB / 0.6232 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.008333, allocations: 20.36 kB / 0.6232 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.008388, allocations: 28.36 kB / 0.6232 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.00905, allocations: 230 kB / 0.6234 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.009062, allocations: 192 / 0.6234 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.009087, allocations: 4.359 kB / 0.6234 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.009098, allocations: 4.125 kB / 0.6234 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.009493, allocations: 123.9 kB / 0.6235 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.009905, allocations: 300.5 kB / 0.6238 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.01048, allocations: 178.5 kB / 0.624 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.01083, allocations: 124.7 kB / 0.6241 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.01086, allocations: 7.938 kB / 0.6241 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005511/0.01141, allocations: 239 kB / 0.6244 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.01141, allocations: 4 kB / 0.6244 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.001385/0.0128, allocations: 0.5272 MB / 0.6249 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.01286, allocations: 59.39 kB / 0.6249 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.01322, allocations: 409.9 kB / 0.6253 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.01327, allocations: 41.69 kB / 0.6254 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.01335, allocations: 101.4 kB / 0.6255 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.0134, allocations: 39.73 kB / 0.6255 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.01357, allocations: 125.4 kB / 0.6256 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01368, allocations: 322.8 kB / 0.6259 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.01394, allocations: 191.3 kB / 0.6261 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.01415, allocations: 249.2 kB / 0.6263 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.0144, allocations: 271.4 kB / 0.6266 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.0144, allocations: 0 / 0.6266 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005739/0.01497, allocations: 0.5567 MB / 0.6271 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/0.01504, allocations: 85.41 kB / 0.6272 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01504, allocations: 8.188 kB / 0.6272 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01506, allocations: 7.938 kB / 0.6272 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.01518, allocations: 19.97 kB / 0.6273 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.01519, allocations: 7.938 kB / 0.6273 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.01546, allocations: 67.78 kB / 0.6273 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.01552, allocations: 59.98 kB / 0.6274 GB, free: 3.816 MB / 0.5886 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.0002111/0.01573, allocations: 196.8 kB / 0.6276 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.01578, allocations: 43.7 kB / 0.6276 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.783e-05/0.01584, allocations: 35.69 kB / 0.6277 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01585, allocations: 3.938 kB / 0.6277 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01585, allocations: 0 / 0.6277 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.01586, allocations: 3.984 kB / 0.6277 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.0171, allocations: 0.7358 MB / 0.6284 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.0171, allocations: 3.938 kB / 0.6284 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.01713, allocations: 11.92 kB / 0.6284 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01713, allocations: 4 kB / 0.6284 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.01716, allocations: 15.98 kB / 0.6284 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.01716, allocations: 0 / 0.6284 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01716, allocations: 0 / 0.6284 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/0.01801, allocations: 0.5073 MB / 0.6289 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.01819, allocations: 133.5 kB / 0.629 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.01824, allocations: 12 kB / 0.6291 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.01846, allocations: 35.95 kB / 0.6291 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.01849, allocations: 11.98 kB / 0.6291 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.01853, allocations: 59.98 kB / 0.6292 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001978/0.01873, allocations: 299 kB / 0.6294 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.01873, allocations: 3.938 kB / 0.6294 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002807/0.01901, allocations: 63.98 kB / 0.6295 GB, free: 1.578 MB / 0.5886 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.001331/0.02034, allocations: 1.07 MB / 0.6305 GB, free: 496 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008051/0.02115, allocations: 493.8 kB / 0.631 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.02115, allocations: 0 / 0.631 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.02151, allocations: 128.2 kB / 0.6311 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.02178, allocations: 29.62 kB / 0.6312 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.02465, allocations: 3.113 MB / 0.6342 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.02478, allocations: 163 kB / 0.6344 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.224e-05/0.02483, allocations: 17.14 kB / 0.6344 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.02488, allocations: 24.48 kB / 0.6344 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.02488, allocations: 3.938 kB / 0.6344 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.04724, allocations: 7.93 MB / 0.6422 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.793, allocations: 0 / 0.6422 GB, free: 4.469 MB / 0.6042 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.402717808261514] Failed to read output from testmodel.py, exit status != 0: 7.875644152984023 7.887381916 7.879060451 Calling exit ...