Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001666/0.001666, allocations: 119 kB / 19.69 MB, free: 2.199 MB / 14.72 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.002117/0.002117, allocations: 221.2 kB / 23.01 MB, free: 5.047 MB / 14.72 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 1.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9991/0.9991, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002145/0.002145, allocations: 66.69 kB / 0.6412 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1821, allocations: 89.17 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00337/0.1855, allocations: 1.541 MB / 0.7298 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.187, allocations: 0.5384 MB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.1871, allocations: 7.875 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.1872, allocations: 7.922 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.1874, allocations: 35.78 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.1883, allocations: 316.1 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.1889, allocations: 479.5 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.189, allocations: 7.938 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1894, allocations: 279.7 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.1898, allocations: 147.6 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.942e-05/0.1899, allocations: 32 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.19, allocations: 24 kB / 0.7316 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.1901, allocations: 115.7 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1904, allocations: 187 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.1909, allocations: 426.7 kB / 0.7323 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1909, allocations: 4 kB / 0.7323 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1909, allocations: 0 / 0.7323 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.1909, allocations: 0 / 0.7323 GB, free: 13.18 MB / 0.5606 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.001399/0.1923, allocations: 0.8067 MB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1924, allocations: 8.031 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.1924, allocations: 42.73 kB / 0.7332 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.1925, allocations: 48.7 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.193, allocations: 260.7 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.1931, allocations: 16.36 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.1931, allocations: 24.38 kB / 0.7335 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.1941, allocations: 214 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1941, allocations: 7.875 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1941, allocations: 4 kB / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1941, allocations: 0 / 0.7337 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.1949, allocations: 103.9 kB / 0.7338 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.1954, allocations: 360.3 kB / 0.7342 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1964, allocations: 174.4 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.1971, allocations: 97.16 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1971, allocations: 8 kB / 0.7344 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000955/0.1981, allocations: 219.1 kB / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.1981, allocations: 0 / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00249/0.2006, allocations: 491.7 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.2006, allocations: 59.39 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004618/0.2011, allocations: 417.9 kB / 0.7356 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.2011, allocations: 41.69 kB / 0.7356 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.2012, allocations: 93.45 kB / 0.7357 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.2013, allocations: 47.67 kB / 0.7357 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.2015, allocations: 121.5 kB / 0.7358 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2016, allocations: 330.8 kB / 0.7362 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.2019, allocations: 115.9 kB / 0.7363 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.2022, allocations: 171.9 kB / 0.7364 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.2026, allocations: 279.9 kB / 0.7367 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2026, allocations: 4 kB / 0.7367 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009472/0.2036, allocations: 492.7 kB / 0.7372 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/0.2037, allocations: 93.34 kB / 0.7373 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2037, allocations: 3.938 kB / 0.7373 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2037, allocations: 4 kB / 0.7373 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2039, allocations: 19.98 kB / 0.7373 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2039, allocations: 192 / 0.7373 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.2044, allocations: 67.78 kB / 0.7374 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.2044, allocations: 63.97 kB / 0.7374 GB, free: 7.652 MB / 0.5606 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.000242/0.2047, allocations: 189.8 kB / 0.7376 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.2048, allocations: 43.66 kB / 0.7376 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.2048, allocations: 43.67 kB / 0.7377 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2048, allocations: 4 kB / 0.7377 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2048, allocations: 0 / 0.7377 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2048, allocations: 4 kB / 0.7377 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.207, allocations: 0.7122 MB / 0.7384 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.207, allocations: 4 kB / 0.7384 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.2071, allocations: 8 kB / 0.7384 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2071, allocations: 0 / 0.7384 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.2071, allocations: 19.97 kB / 0.7384 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2071, allocations: 7.938 kB / 0.7384 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2071, allocations: 0 / 0.7384 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.2088, allocations: 482.6 kB / 0.7389 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.2091, allocations: 129.6 kB / 0.739 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.2092, allocations: 12 kB / 0.739 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.2096, allocations: 27.97 kB / 0.739 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.2097, allocations: 15.98 kB / 0.7391 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.2097, allocations: 55.97 kB / 0.7391 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000373/0.2101, allocations: 295.1 kB / 0.7394 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2101, allocations: 0 / 0.7394 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003828/0.2105, allocations: 63.98 kB / 0.7395 GB, free: 5.492 MB / 0.5606 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.002097/0.2126, allocations: 1.034 MB / 0.7405 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.2139, allocations: 410.5 kB / 0.7409 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2139, allocations: 0 / 0.7409 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007197/0.2146, allocations: 103.9 kB / 0.741 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.215, allocations: 37.08 kB / 0.741 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.2196, allocations: 2.801 MB / 0.7437 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.2201, allocations: 0.7708 MB / 0.7445 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.058e-05/0.2202, allocations: 9.094 kB / 0.7445 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.2202, allocations: 27.42 kB / 0.7445 GB, free: 112 kB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2202, allocations: 0 / 0.7445 GB, free: 112 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.257, allocations: 6.403 MB / 0.7508 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.49, allocations: 15.23 kB / 0.7508 GB, free: 9.75 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.986613957909867] Failed to read output from testmodel.py, exit status != 0: 11.595627889037132 11.995814063 11.800442657 Calling exit ...