Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.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.0008535/0.0008535, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.0009683/0.0009683, allocations: 214.5 kB / 22.25 MB, free: 3.57 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.945/0.945, allocations: 230.6 MB / 256 MB, free: 9.602 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.7979/0.7979, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",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.0009064/0.0009064, allocations: 63.03 kB / 0.7181 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4848, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001935/0.4867, allocations: 1.529 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.4878, allocations: 0.5257 MB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.4878, allocations: 0 / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.4879, allocations: 12.98 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.4881, allocations: 23.84 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.4888, allocations: 322.1 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.4892, allocations: 489.2 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.4892, allocations: 10.75 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.4896, allocations: 276.5 kB / 0.8208 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.4898, allocations: 125.6 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.4898, allocations: 30.06 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.4899, allocations: 28.03 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.49, allocations: 117.8 kB / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.4901, allocations: 158.8 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003667/0.4905, allocations: 428.5 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4905, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4905, allocations: 0 / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.4905, allocations: 1.031 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.0009913/0.4915, allocations: 0.8018 MB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4916, allocations: 8.688 kB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.4916, allocations: 40.16 kB / 0.8225 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.4917, allocations: 55.58 kB / 0.8226 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.492, allocations: 251.5 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.492, allocations: 17.31 kB / 0.8228 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.4921, allocations: 30.41 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.4927, allocations: 215.9 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4927, allocations: 4.547 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4927, allocations: 2.016 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4927, allocations: 5.938 kB / 0.8231 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.4931, allocations: 99.56 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.4935, allocations: 311.1 kB / 0.8235 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.494, allocations: 164 kB / 0.8236 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.4944, allocations: 104.4 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4945, allocations: 6.078 kB / 0.8237 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005941/0.495, allocations: 224.8 kB / 0.8239 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.495, allocations: 0 / 0.8239 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001438/0.4965, allocations: 493.6 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4965, allocations: 60.75 kB / 0.8245 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.4969, allocations: 407.1 kB / 0.8249 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.4969, allocations: 40.36 kB / 0.8249 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.497, allocations: 95.41 kB / 0.825 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.497, allocations: 45.31 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4972, allocations: 132.2 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.4972, allocations: 321.2 kB / 0.8255 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.4975, allocations: 190 kB / 0.8257 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.4977, allocations: 244 kB / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.498, allocations: 280.1 kB / 0.8262 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.498, allocations: 0 / 0.8262 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005922/0.4986, allocations: 0.5471 MB / 0.8267 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.4986, allocations: 84.27 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4986, allocations: 6.344 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4987, allocations: 2.188 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4988, allocations: 27.92 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4988, allocations: 2.859 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.499, allocations: 59.78 kB / 0.8269 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.4991, allocations: 61.17 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001881/0.4993, allocations: 201 kB / 0.8271 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.4993, allocations: 41.77 kB / 0.8272 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.4994, allocations: 42.27 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4994, allocations: 1.062 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4994, allocations: 1.812 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4994, allocations: 0.7031 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.5007, allocations: 0.711 MB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5007, allocations: 0 / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.5007, allocations: 5.031 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5007, allocations: 1.219 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.5008, allocations: 22.92 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5008, allocations: 1.219 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5008, allocations: 0.75 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5018, allocations: 478.1 kB / 0.8284 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.502, allocations: 136.8 kB / 0.8285 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.5021, allocations: 10.97 kB / 0.8285 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5023, allocations: 35.94 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.5023, allocations: 8.609 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.5024, allocations: 64.42 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002791/0.5027, allocations: 295 kB / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5027, allocations: 0 / 0.8289 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002763/0.503, allocations: 64.7 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.001161/0.5041, allocations: 1.032 MB / 0.83 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008297/0.505, allocations: 470.8 kB / 0.8304 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.505, allocations: 0 / 0.8304 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.5054, allocations: 116.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.0002851/0.5057, allocations: 38.88 kB / 0.8306 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.509, allocations: 3.09 MB / 0.8336 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.5091, allocations: 165.3 kB / 0.8337 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.525e-05/0.5092, allocations: 15.88 kB / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.5092, allocations: 25.45 kB / 0.8338 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.5092, allocations: 0 / 0.8338 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.5325, allocations: 8.057 MB / 0.8417 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.687, allocations: 3.656 kB / 0.8417 GB, free: 3.816 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.724510697182268] Failed to read output from testmodel.py, exit status != 0: 7.766957252286375 7.781736034 7.288674222 Calling exit ...