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.001286/0.001286, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001291/0.001291, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9353/0.9353, allocations: 230.6 MB / 256 MB, free: 9.805 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.8108/0.8108, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.0009929/0.0009929, allocations: 71.28 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5718, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001995/0.5738, allocations: 1.553 MB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.5749, allocations: 0.5484 MB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.978e-05/0.575, allocations: 3.594 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.5751, allocations: 9.844 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.5752, allocations: 26.12 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.5759, allocations: 314.8 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.5764, allocations: 488.4 kB / 0.8207 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.5765, allocations: 11.75 kB / 0.8207 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.5768, allocations: 277.4 kB / 0.821 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.577, allocations: 147.7 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.5771, allocations: 26.53 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.5772, allocations: 26.41 kB / 0.8212 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.5773, allocations: 118.2 kB / 0.8213 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.5774, allocations: 185.2 kB / 0.8214 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.5778, allocations: 422 kB / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5778, allocations: 5.094 kB / 0.8219 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5778, allocations: 3.938 kB / 0.8219 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5778, allocations: 0 / 0.8219 GB, free: 14.96 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.001035/0.5789, allocations: 0.8077 MB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5789, allocations: 9.422 kB / 0.8227 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.579, allocations: 35.17 kB / 0.8227 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.579, allocations: 50.61 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.5793, allocations: 259.2 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.5794, allocations: 21.97 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.104e-05/0.5794, allocations: 25.59 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.5801, allocations: 215.8 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.5801, allocations: 11.86 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.5801, allocations: 2.344 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.5801, allocations: 2.062 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.5806, allocations: 99.41 kB / 0.8233 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.5813, allocations: 368 kB / 0.8237 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.5823, allocations: 166.7 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.5828, allocations: 102.7 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.5829, allocations: 3.031 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000765/0.5836, allocations: 227.5 kB / 0.8242 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 4.158e-06/0.5837, allocations: 0 / 0.8242 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001531/0.5852, allocations: 489.2 kB / 0.8246 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.5852, allocations: 62.08 kB / 0.8247 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.5856, allocations: 406.8 kB / 0.8251 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.5856, allocations: 39.72 kB / 0.8251 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.5857, allocations: 95.78 kB / 0.8252 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.5857, allocations: 41.7 kB / 0.8253 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.5859, allocations: 130.7 kB / 0.8254 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.586, allocations: 325.4 kB / 0.8257 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.5862, allocations: 117.3 kB / 0.8258 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.5864, allocations: 173.3 kB / 0.826 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.5867, allocations: 274.6 kB / 0.8262 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5867, allocations: 1.562 kB / 0.8262 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006085/0.5873, allocations: 496.8 kB / 0.8267 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/0.5874, allocations: 93.62 kB / 0.8268 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5874, allocations: 2.531 kB / 0.8268 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5874, allocations: 3.391 kB / 0.8268 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.5875, allocations: 31.17 kB / 0.8268 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5875, allocations: 2.688 kB / 0.8268 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.5878, allocations: 59.98 kB / 0.8269 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-05/0.5879, allocations: 61.16 kB / 0.8269 GB, free: 11.98 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.0001861/0.5881, allocations: 195.2 kB / 0.8271 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.5881, allocations: 40.56 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.5882, allocations: 41.73 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5882, allocations: 3.391 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5882, allocations: 0 / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5882, allocations: 0.6562 kB / 0.8272 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.5895, allocations: 0.7169 MB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5895, allocations: 3.938 kB / 0.8279 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.5895, allocations: 12.23 kB / 0.8279 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.5896, allocations: 1.375 kB / 0.8279 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.5896, allocations: 27.16 kB / 0.828 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5896, allocations: 0 / 0.828 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5896, allocations: 1.734 kB / 0.828 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009641/0.5906, allocations: 478.8 kB / 0.8284 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.5908, allocations: 133 kB / 0.8285 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.5909, allocations: 10.73 kB / 0.8286 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.5911, allocations: 33.02 kB / 0.8286 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.5911, allocations: 7.359 kB / 0.8286 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/0.5912, allocations: 60.33 kB / 0.8287 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003262/0.5915, allocations: 294.1 kB / 0.8289 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5915, allocations: 0.5 kB / 0.8289 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003166/0.5919, allocations: 73.38 kB / 0.829 GB, free: 11 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.001155/0.593, allocations: 1.016 MB / 0.83 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007805/0.5938, allocations: 400.5 kB / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5938, allocations: 1.844 kB / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.5942, allocations: 115.5 kB / 0.8305 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5945, allocations: 23.31 kB / 0.8305 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.5982, allocations: 2.803 MB / 0.8332 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.5985, allocations: 0.7746 MB / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.147e-05/0.5985, allocations: 15.34 kB / 0.834 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.5986, allocations: 26.53 kB / 0.834 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.5986, allocations: 0 / 0.834 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.6241, allocations: 6.323 MB / 0.8402 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.588, allocations: 5 kB / 0.8402 GB, free: 4.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.50952400895767] Failed to read output from testmodel.py, exit status != 0: 7.671967101050541 7.692542613 7.111620075 Calling exit ...