Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0006678/0.0006678, 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.00081/0.00081, 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.9656/0.9656, 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.7892/0.7892, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001017/0.001017, allocations: 66.12 kB / 0.7181 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5289, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002304/0.5312, allocations: 1.522 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.5323, allocations: 0.537 MB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.5323, allocations: 4 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.5324, allocations: 9.516 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.5325, allocations: 26.14 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.5333, allocations: 312.9 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.5337, allocations: 482.8 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.5337, allocations: 11.09 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.534, allocations: 275.7 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.5342, allocations: 142.9 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.5342, allocations: 23.81 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.5343, allocations: 26.88 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.5344, allocations: 118.2 kB / 0.8212 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.5346, allocations: 154.5 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.5349, allocations: 429.1 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.5349, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5349, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5349, allocations: 1.406 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.0009032/0.5358, allocations: 0.8011 MB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5359, allocations: 8.938 kB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.5359, allocations: 36.27 kB / 0.8225 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.536, allocations: 55.61 kB / 0.8226 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.5363, allocations: 256.2 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.5363, allocations: 20.67 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.5364, allocations: 26.16 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.5369, allocations: 222.2 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5369, allocations: 3.938 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.5369, allocations: 2.453 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5369, allocations: 1.406 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.5373, allocations: 96.78 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.5376, allocations: 315.5 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.5382, allocations: 171.6 kB / 0.8237 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.5385, allocations: 103.5 kB / 0.8238 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.5385, allocations: 2.141 kB / 0.8238 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.5391, allocations: 228.9 kB / 0.824 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.5391, allocations: 0 / 0.824 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001315/0.5404, allocations: 492.3 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.5404, allocations: 59.83 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.5408, allocations: 412.2 kB / 0.8249 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.5408, allocations: 39.39 kB / 0.8249 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.5411, allocations: 98.58 kB / 0.825 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.5411, allocations: 34.27 kB / 0.8251 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.5413, allocations: 132 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.5413, allocations: 321.3 kB / 0.8255 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.5416, allocations: 193.9 kB / 0.8257 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.5418, allocations: 243.4 kB / 0.8259 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.5421, allocations: 274.8 kB / 0.8262 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5421, allocations: 1.312 kB / 0.8262 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005934/0.5427, allocations: 0.5488 MB / 0.8267 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.5427, allocations: 84.11 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5427, allocations: 2.281 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5428, allocations: 6.844 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.5429, allocations: 27.06 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5429, allocations: 3.453 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.5431, allocations: 64.11 kB / 0.8269 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.5432, allocations: 56.94 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.000186/0.5434, allocations: 194.7 kB / 0.8271 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.5434, allocations: 42.22 kB / 0.8272 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.5435, allocations: 41.64 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.5435, allocations: 1.188 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5435, allocations: 2.219 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5435, allocations: 0.5625 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5448, allocations: 0.7098 MB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5448, allocations: 5.094 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.5448, allocations: 4.828 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5448, allocations: 1.531 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.5449, allocations: 22.5 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5449, allocations: 0.6094 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5449, allocations: 0.875 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.5459, allocations: 482.5 kB / 0.8284 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.5461, allocations: 136.6 kB / 0.8285 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.5461, allocations: 18.81 kB / 0.8285 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.5464, allocations: 28.52 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.5464, allocations: 12.41 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.5465, allocations: 56.11 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003195/0.5468, allocations: 294.6 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5468, allocations: 0.5625 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002683/0.5471, allocations: 64.2 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.001144/0.5482, allocations: 1.035 MB / 0.83 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007463/0.549, allocations: 471.6 kB / 0.8304 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.549, allocations: 0 / 0.8304 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.5494, allocations: 116 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.0002881/0.5497, allocations: 27.25 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.00299/0.5527, allocations: 3.102 MB / 0.8336 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5528, allocations: 168.3 kB / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.5529, allocations: 10.95 kB / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.5529, allocations: 29.52 kB / 0.8338 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5529, allocations: 0 / 0.8338 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.5785, allocations: 7.956 MB / 0.8416 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.895, allocations: 5.875 kB / 0.8416 GB, free: 3.945 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.811383250169456] Failed to read output from testmodel.py, exit status != 0: 7.985090286936611 7.997943237 7.460775097 Calling exit ...