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.002053/0.002053, 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.001298/0.001298, allocations: 223.2 kB / 22.26 MB, free: 3.707 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.9344/0.9344, allocations: 230.6 MB / 256 MB, free: 9.824 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.7912/0.7912, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009102/0.0009102, allocations: 68.33 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4886, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001873/0.4904, allocations: 1.556 MB / 0.8193 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.4914, allocations: 0.5526 MB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.4915, allocations: 0 / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.4916, allocations: 10.95 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.4917, allocations: 25.84 kB / 0.8199 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.4923, allocations: 315.5 kB / 0.8202 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.4928, allocations: 483.5 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.501e-05/0.4929, allocations: 14.41 kB / 0.8207 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.4932, allocations: 279.3 kB / 0.821 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.4934, allocations: 144.9 kB / 0.8211 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.4935, allocations: 27.41 kB / 0.8211 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.4935, allocations: 27.31 kB / 0.8211 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4937, allocations: 116.4 kB / 0.8213 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.4938, allocations: 182.4 kB / 0.8214 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.4942, allocations: 428.9 kB / 0.8218 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4942, allocations: 0 / 0.8218 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4942, allocations: 7.938 kB / 0.8218 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4942, allocations: 0 / 0.8218 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.0008955/0.4951, allocations: 0.8027 MB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4951, allocations: 9.094 kB / 0.8226 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.4951, allocations: 39.83 kB / 0.8227 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.4952, allocations: 52.52 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.4955, allocations: 254.3 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.4956, allocations: 18.86 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.4956, allocations: 32.31 kB / 0.823 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.4962, allocations: 215.9 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4962, allocations: 7.875 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4962, allocations: 2.469 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4962, allocations: 1.672 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.4966, allocations: 100.1 kB / 0.8233 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.4969, allocations: 363 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.4975, allocations: 160 kB / 0.8238 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.4978, allocations: 108.4 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4979, allocations: 1.938 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.4984, allocations: 230.7 kB / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.4984, allocations: 0 / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001307/0.4997, allocations: 486.8 kB / 0.8246 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4997, allocations: 62.36 kB / 0.8247 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.5001, allocations: 407.5 kB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.5001, allocations: 44.75 kB / 0.8251 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.5002, allocations: 90.78 kB / 0.8252 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.5002, allocations: 40.39 kB / 0.8252 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.5003, allocations: 131.2 kB / 0.8254 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.5004, allocations: 327.5 kB / 0.8257 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.5006, allocations: 114.2 kB / 0.8258 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.5008, allocations: 170.4 kB / 0.8259 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.5011, allocations: 279.9 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5011, allocations: 1.375 kB / 0.8262 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005765/0.5017, allocations: 491.4 kB / 0.8267 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.5017, allocations: 91.77 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5017, allocations: 3.391 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5017, allocations: 2.875 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.5018, allocations: 31.25 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5019, allocations: 3.062 kB / 0.8268 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.5021, allocations: 58.55 kB / 0.8269 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.5022, allocations: 57.69 kB / 0.8269 GB, free: 12 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.0001673/0.5023, allocations: 209.7 kB / 0.8271 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.5024, allocations: 41.03 kB / 0.8272 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.5024, allocations: 37.81 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5024, allocations: 1.75 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5024, allocations: 0.7969 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5024, allocations: 2.047 kB / 0.8272 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5037, allocations: 0.7181 MB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5037, allocations: 0.6094 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.5037, allocations: 10.09 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5037, allocations: 0 / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.5037, allocations: 23.02 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5037, allocations: 5.094 kB / 0.8279 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5037, allocations: 4.562 kB / 0.8279 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.5046, allocations: 472 kB / 0.8284 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.5049, allocations: 136.2 kB / 0.8285 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.5049, allocations: 14.75 kB / 0.8285 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.5051, allocations: 28.73 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.5052, allocations: 7.719 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/0.5053, allocations: 60.36 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002774/0.5055, allocations: 293.8 kB / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5055, allocations: 0 / 0.8289 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002705/0.5058, allocations: 69.39 kB / 0.829 GB, free: 11.01 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.001127/0.5069, allocations: 1.021 MB / 0.83 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007108/0.5076, allocations: 407.9 kB / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5076, allocations: 0 / 0.8304 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.508, allocations: 116.7 kB / 0.8305 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.5083, allocations: 30.22 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.003122/0.5114, allocations: 2.795 MB / 0.8332 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5117, allocations: 0.7711 MB / 0.834 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.5117, allocations: 20.17 kB / 0.834 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.5118, allocations: 25.09 kB / 0.834 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5118, allocations: 0 / 0.834 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.5317, allocations: 6.421 MB / 0.8403 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.525, allocations: 5.156 kB / 0.8403 GB, free: 4.875 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.529741317033768] Failed to read output from testmodel.py, exit status != 0: 7.601842002943158 7.614762589 7.118442712 Calling exit ...