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.0007847/0.0007847, 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.0008566/0.0008566, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9427/0.9427, allocations: 230.6 MB / 256 MB, free: 9.797 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.8057/0.8057, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001475/0.001475, allocations: 66.44 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5594, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002306/0.5617, allocations: 1.552 MB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.5628, allocations: 0.5501 MB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.5629, allocations: 0 / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.563, allocations: 11.19 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.5631, allocations: 27.84 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.5639, allocations: 311.8 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.5643, allocations: 493.4 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.5644, allocations: 7.406 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.5648, allocations: 271.5 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.5652, allocations: 150.3 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.5652, allocations: 26.28 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.5653, allocations: 29.44 kB / 0.8212 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.5655, allocations: 122 kB / 0.8213 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.5657, allocations: 187 kB / 0.8215 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.5663, allocations: 420.7 kB / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.5664, allocations: 1.219 kB / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5664, allocations: 0 / 0.8219 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5664, allocations: 0 / 0.8219 GB, free: 14.98 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.001319/0.5677, allocations: 0.8144 MB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5677, allocations: 9.969 kB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.5678, allocations: 33.86 kB / 0.8227 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.5679, allocations: 55.92 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.5682, allocations: 255.5 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.5682, allocations: 16.81 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.5683, allocations: 29.59 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006191/0.5689, allocations: 214.2 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5689, allocations: 5 kB / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.5689, allocations: 10.45 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5689, allocations: 5.234 kB / 0.8233 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.5693, allocations: 96.09 kB / 0.8234 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.5697, allocations: 363.1 kB / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/0.5703, allocations: 165.1 kB / 0.8239 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.5707, allocations: 107.8 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.5707, allocations: 2.297 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.5713, allocations: 223.1 kB / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.525e-06/0.5713, allocations: 0 / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001426/0.5727, allocations: 489.4 kB / 0.8246 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.5728, allocations: 61.53 kB / 0.8247 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.5732, allocations: 411.1 kB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.5732, allocations: 40.28 kB / 0.8251 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.5733, allocations: 102.4 kB / 0.8252 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.5733, allocations: 38.14 kB / 0.8253 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.5734, allocations: 127.3 kB / 0.8254 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.5735, allocations: 321.7 kB / 0.8257 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.5737, allocations: 119.9 kB / 0.8258 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.574, allocations: 174.5 kB / 0.826 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.5743, allocations: 276 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5743, allocations: 0.6094 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006361/0.5749, allocations: 493.3 kB / 0.8267 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.575, allocations: 93.11 kB / 0.8268 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.575, allocations: 1.438 kB / 0.8268 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.575, allocations: 2.656 kB / 0.8268 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.5752, allocations: 26.89 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5752, allocations: 3.5 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.5756, allocations: 59.38 kB / 0.8269 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.5757, allocations: 60.67 kB / 0.8269 GB, free: 12.01 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.0003096/0.576, allocations: 195.7 kB / 0.8271 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.5761, allocations: 41.44 kB / 0.8272 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.5762, allocations: 42.2 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5762, allocations: 1.219 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5762, allocations: 9.953 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5762, allocations: 0.5625 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.5777, allocations: 0.7152 MB / 0.8279 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5777, allocations: 1.156 kB / 0.8279 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.5778, allocations: 15.89 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.5778, allocations: 1.312 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.5778, allocations: 19.48 kB / 0.828 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5778, allocations: 0 / 0.828 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5778, allocations: 1.062 kB / 0.828 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.5788, allocations: 479.4 kB / 0.8284 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.5791, allocations: 141.2 kB / 0.8285 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.5791, allocations: 10.78 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.5794, allocations: 32.39 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.5795, allocations: 7.859 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.5796, allocations: 64.56 kB / 0.8287 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003986/0.58, allocations: 294.2 kB / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.58, allocations: 0 / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003899/0.5804, allocations: 64.66 kB / 0.829 GB, free: 11.02 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.001347/0.5817, allocations: 1.02 MB / 0.83 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008687/0.5826, allocations: 402.1 kB / 0.8304 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.5826, allocations: 0 / 0.8304 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.583, allocations: 116.5 kB / 0.8305 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5833, allocations: 22.12 kB / 0.8305 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.5866, allocations: 2.811 MB / 0.8333 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.5869, allocations: 0.7716 MB / 0.834 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.325e-05/0.587, allocations: 10.61 kB / 0.834 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.587, allocations: 29.62 kB / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.587, allocations: 0 / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.6088, allocations: 6.314 MB / 0.8402 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.635, allocations: 5.625 kB / 0.8402 GB, free: 4.969 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.528153621125966] Failed to read output from testmodel.py, exit status != 0: 7.720443082973361 7.731353367 7.162679245 Calling exit ...