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.001766/0.001766, 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.002509/0.002509, allocations: 222.5 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8 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.9708/0.9708, allocations: 150 MB / 463.2 MB, free: 10.5 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.002054/0.002054, allocations: 64.11 kB / 0.6412 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1964, allocations: 89.16 MB / 0.7283 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002719/0.1991, allocations: 1.541 MB / 0.7298 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2005, allocations: 0.55 MB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.2005, allocations: 0 / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.2006, allocations: 3.938 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2007, allocations: 31.8 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.2016, allocations: 314 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.2021, allocations: 483.5 kB / 0.7312 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.2022, allocations: 4 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.2026, allocations: 287.6 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.2029, allocations: 147.6 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.203, allocations: 32 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.477e-05/0.2031, allocations: 24 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2032, allocations: 111.7 kB / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2034, allocations: 187 kB / 0.7319 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.2039, allocations: 426.7 kB / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2039, allocations: 0 / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2039, allocations: 0 / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.2039, allocations: 0 / 0.7323 GB, free: 13.2 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.001277/0.2052, allocations: 0.8145 MB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2052, allocations: 12.03 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.2053, allocations: 38.69 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2054, allocations: 56.69 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.2058, allocations: 256.7 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.2059, allocations: 20.36 kB / 0.7335 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.2059, allocations: 28.36 kB / 0.7335 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009622/0.2069, allocations: 206 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2069, allocations: 7.938 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.207, allocations: 4 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.207, allocations: 3.984 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.2077, allocations: 102.7 kB / 0.7338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.2082, allocations: 360.3 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.2092, allocations: 166.5 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.2099, allocations: 105.2 kB / 0.7344 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2099, allocations: 8 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009567/0.2109, allocations: 223.1 kB / 0.7346 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.2109, allocations: 0 / 0.7346 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002509/0.2134, allocations: 491.3 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.2134, allocations: 59.41 kB / 0.7352 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.2139, allocations: 413.9 kB / 0.7356 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.214, allocations: 45.69 kB / 0.7356 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2141, allocations: 93.44 kB / 0.7357 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.2142, allocations: 43.67 kB / 0.7357 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.2144, allocations: 129.5 kB / 0.7359 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2146, allocations: 318.8 kB / 0.7362 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2149, allocations: 119.9 kB / 0.7363 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.2152, allocations: 165.9 kB / 0.7364 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.2156, allocations: 279.5 kB / 0.7367 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2156, allocations: 0 / 0.7367 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008877/0.2165, allocations: 488.7 kB / 0.7372 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.2166, allocations: 91.31 kB / 0.7373 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2166, allocations: 0 / 0.7373 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2166, allocations: 7.938 kB / 0.7373 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.2168, allocations: 23.92 kB / 0.7373 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2168, allocations: 8.172 kB / 0.7373 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.2173, allocations: 63.84 kB / 0.7374 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.403e-05/0.2174, allocations: 55.98 kB / 0.7374 GB, free: 7.676 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.0002468/0.2176, allocations: 189.7 kB / 0.7376 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2177, allocations: 51.66 kB / 0.7376 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.2178, allocations: 39.67 kB / 0.7377 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2178, allocations: 4 kB / 0.7377 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2178, allocations: 0 / 0.7377 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2178, allocations: 0 / 0.7377 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.22, allocations: 0.7238 MB / 0.7384 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.22, allocations: 4 kB / 0.7384 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.22, allocations: 7.984 kB / 0.7384 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.22, allocations: 0 / 0.7384 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.2201, allocations: 19.98 kB / 0.7384 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2201, allocations: 3.984 kB / 0.7384 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.2201, allocations: 7.938 kB / 0.7384 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.2217, allocations: 474.4 kB / 0.7389 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.222, allocations: 129.6 kB / 0.739 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.2221, allocations: 19.94 kB / 0.739 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.2225, allocations: 27.95 kB / 0.739 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.2225, allocations: 7.984 kB / 0.7391 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.646e-05/0.2226, allocations: 63.98 kB / 0.7391 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003175/0.2229, allocations: 295.1 kB / 0.7394 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2229, allocations: 0 / 0.7394 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004008/0.2233, allocations: 63.98 kB / 0.7395 GB, free: 5.5 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.002055/0.2254, allocations: 1.034 MB / 0.7405 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.2267, allocations: 402.5 kB / 0.7409 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2267, allocations: 0 / 0.7409 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.2274, allocations: 115.3 kB / 0.741 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.2278, allocations: 29.56 kB / 0.741 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.2322, allocations: 2.795 MB / 0.7437 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.2327, allocations: 0.7669 MB / 0.7445 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.83e-05/0.2328, allocations: 13.08 kB / 0.7445 GB, free: 156 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.2328, allocations: 27.42 kB / 0.7445 GB, free: 128 kB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.2328, allocations: 0 / 0.7445 GB, free: 128 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.2683, allocations: 6.407 MB / 0.7508 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.2, allocations: 9.859 kB / 0.7508 GB, free: 9.773 MB / 0.5762 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 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: 17.265089403001184] Failed to read output from testmodel.py, exit status != 0: 11.30471106800178 11.60929291 11.402467042 Calling exit ...