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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 114.8 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8909/0.8909, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 59.91 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4026, allocations: 83.43 MB / 0.6801 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002352/0.405, allocations: 1.532 MB / 0.6816 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.4063, allocations: 0.5468 MB / 0.6822 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.4063, allocations: 0 / 0.6822 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.4064, allocations: 13 kB / 0.6822 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.4066, allocations: 26.91 kB / 0.6822 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.4072, allocations: 305.3 kB / 0.6825 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004715/0.4077, allocations: 486.7 kB / 0.683 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.4078, allocations: 3.438 kB / 0.683 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.4081, allocations: 282 kB / 0.6832 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4084, allocations: 147.5 kB / 0.6834 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.4084, allocations: 27.38 kB / 0.6834 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.4085, allocations: 26.31 kB / 0.6834 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.4087, allocations: 115.8 kB / 0.6835 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.4088, allocations: 181.9 kB / 0.6837 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.4092, allocations: 425.8 kB / 0.6841 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4092, allocations: 1.125 kB / 0.6841 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4092, allocations: 0 / 0.6841 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4092, allocations: 0 / 0.6841 GB, free: 3.156 MB / 0.4981 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.00111/0.4103, allocations: 0.8741 MB / 0.685 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4104, allocations: 17.72 kB / 0.685 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.4104, allocations: 37.78 kB / 0.685 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.4105, allocations: 58.3 kB / 0.6851 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.4109, allocations: 305.1 kB / 0.6854 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.411, allocations: 19.48 kB / 0.6854 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.4111, allocations: 26.45 kB / 0.6854 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008788/0.4119, allocations: 213.8 kB / 0.6856 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4119, allocations: 3.938 kB / 0.6856 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.412, allocations: 13.23 kB / 0.6856 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.412, allocations: 5.594 kB / 0.6856 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.4127, allocations: 98.08 kB / 0.6857 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.413, allocations: 400.5 kB / 0.6861 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.414, allocations: 166.9 kB / 0.6863 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.4146, allocations: 106.3 kB / 0.6864 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4146, allocations: 2.625 kB / 0.6864 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000874/0.4155, allocations: 228.7 kB / 0.6866 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4155, allocations: 0 / 0.6866 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002346/0.4178, allocations: 481 kB / 0.6871 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.4179, allocations: 59.91 kB / 0.6871 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.4183, allocations: 417.5 kB / 0.6875 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/0.4183, allocations: 37.58 kB / 0.6875 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.4184, allocations: 96.03 kB / 0.6876 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.4184, allocations: 38.31 kB / 0.6877 GB, free: 484 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.4186, allocations: 126.5 kB / 0.6878 GB, free: 412 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/0.4187, allocations: 326.3 kB / 0.6881 GB, free: 80 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.419, allocations: 121 kB / 0.6882 GB, free: 24 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.4193, allocations: 171.1 kB / 0.6884 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4197, allocations: 279.1 kB / 0.6886 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4197, allocations: 1.094 kB / 0.6886 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008904/0.4206, allocations: 490.5 kB / 0.6891 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4207, allocations: 92.94 kB / 0.6892 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4207, allocations: 1.438 kB / 0.6892 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4208, allocations: 2.531 kB / 0.6892 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4209, allocations: 22.16 kB / 0.6892 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4209, allocations: 15.28 kB / 0.6892 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.4214, allocations: 53.59 kB / 0.6893 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.4215, allocations: 61.42 kB / 0.6894 GB, free: 15.3 MB / 0.5137 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.0002685/0.4218, allocations: 192.1 kB / 0.6895 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.4219, allocations: 51.17 kB / 0.6896 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.4219, allocations: 44.94 kB / 0.6896 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.422, allocations: 1.031 kB / 0.6896 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.422, allocations: 1.281 kB / 0.6896 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.422, allocations: 0 / 0.6896 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.4244, allocations: 0.7449 MB / 0.6904 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.4244, allocations: 0 / 0.6904 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.4244, allocations: 8.125 kB / 0.6904 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4244, allocations: 1.375 kB / 0.6904 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.4245, allocations: 23.16 kB / 0.6904 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.4245, allocations: 0.9062 kB / 0.6904 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4245, allocations: 1.375 kB / 0.6904 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.4263, allocations: 481.3 kB / 0.6909 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004174/0.4267, allocations: 203.6 kB / 0.691 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.4267, allocations: 9.594 kB / 0.6911 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.4272, allocations: 34.39 kB / 0.6911 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4272, allocations: 12.72 kB / 0.6911 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.4273, allocations: 57.38 kB / 0.6912 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004032/0.4277, allocations: 294.6 kB / 0.6914 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4277, allocations: 0 / 0.6914 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004566/0.4282, allocations: 70.42 kB / 0.6915 GB, free: 13.88 MB / 0.5137 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.002051/0.4302, allocations: 1.025 MB / 0.6925 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.4316, allocations: 415.9 kB / 0.6929 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4316, allocations: 0 / 0.6929 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.4323, allocations: 107.2 kB / 0.693 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4327, allocations: 28.17 kB / 0.693 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004467/0.4372, allocations: 2.793 MB / 0.6958 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.4378, allocations: 0.7705 MB / 0.6965 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.362e-05/0.4378, allocations: 13.03 kB / 0.6965 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.4379, allocations: 25.23 kB / 0.6965 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.4379, allocations: 1.156 kB / 0.6965 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.4689, allocations: 6.204 MB / 0.7026 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.581, allocations: 5.203 kB / 0.7026 GB, free: 6.348 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.370493661146611] Failed to read output from testmodel.py, exit status != 0: 8.651213071774691 8.671580105 8.258611764 Calling exit ...