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.001958/0.001958, allocations: 100.4 kB / 20.48 MB, free: 1.363 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.001702/0.001702, allocations: 215.7 kB / 23.78 MB, free: 4.523 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.485/1.485, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.9538/0.9538, allocations: 150 MB / 464 MB, free: 10.19 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="cs",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.002032/0.002032, allocations: 71.19 kB / 0.6419 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.178, allocations: 89.17 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002936/0.1809, allocations: 1.508 MB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1825, allocations: 0.519 MB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.1825, allocations: 4 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.1826, allocations: 15.8 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.1828, allocations: 31.78 kB / 0.731 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1838, allocations: 324.1 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.1845, allocations: 479.5 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1846, allocations: 4 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.1851, allocations: 283.6 kB / 0.7321 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.1855, allocations: 151.6 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1856, allocations: 24 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.81e-05/0.1857, allocations: 28 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1859, allocations: 115.7 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.1861, allocations: 159.2 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.1866, allocations: 426.7 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1866, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1866, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.1866, allocations: 0 / 0.7329 GB, free: 12.79 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.001427/0.188, allocations: 0.8028 MB / 0.7337 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1881, allocations: 12.03 kB / 0.7337 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.728e-05/0.1881, allocations: 192 / 0.7337 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.1881, allocations: 42.67 kB / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1883, allocations: 60.7 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.1887, allocations: 244.8 kB / 0.7341 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.1888, allocations: 20.36 kB / 0.7341 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1889, allocations: 32.36 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.19, allocations: 209.8 kB / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.19, allocations: 0 / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.19, allocations: 3.984 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.19, allocations: 0 / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000909/0.1909, allocations: 103.9 kB / 0.7344 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.1914, allocations: 312.4 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1925, allocations: 162.5 kB / 0.7349 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.1934, allocations: 113.1 kB / 0.735 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1934, allocations: 0 / 0.735 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.1945, allocations: 223.1 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.345e-06/0.1945, allocations: 11.88 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00278/0.1972, allocations: 491.3 kB / 0.7357 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1973, allocations: 59.39 kB / 0.7357 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.1978, allocations: 417.9 kB / 0.7361 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/0.1979, allocations: 37.7 kB / 0.7362 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.198, allocations: 97.44 kB / 0.7363 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.1981, allocations: 35.69 kB / 0.7363 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.1984, allocations: 129.5 kB / 0.7364 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.1985, allocations: 318.8 kB / 0.7367 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1989, allocations: 195.2 kB / 0.7369 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.1993, allocations: 247.2 kB / 0.7371 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.1997, allocations: 269.3 kB / 0.7374 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1997, allocations: 0 / 0.7374 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001022/0.2007, allocations: 0.556 MB / 0.7379 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/0.2008, allocations: 85.55 kB / 0.738 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.2008, allocations: 4.188 kB / 0.738 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2008, allocations: 4 kB / 0.738 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.201, allocations: 23.98 kB / 0.7381 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2011, allocations: 3.938 kB / 0.7381 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.2016, allocations: 63.78 kB / 0.7381 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.2017, allocations: 59.97 kB / 0.7382 GB, free: 7.074 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.0002872/0.202, allocations: 197.8 kB / 0.7384 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.2021, allocations: 47.66 kB / 0.7384 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.2021, allocations: 35.69 kB / 0.7384 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.2021, allocations: 7.938 kB / 0.7385 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2021, allocations: 3.984 kB / 0.7385 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2022, allocations: 0 / 0.7385 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.2046, allocations: 0.7045 MB / 0.7391 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2046, allocations: 0 / 0.7391 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.2046, allocations: 11.92 kB / 0.7392 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.2046, allocations: 0 / 0.7392 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.2047, allocations: 19.97 kB / 0.7392 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2047, allocations: 0 / 0.7392 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2047, allocations: 0 / 0.7392 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2066, allocations: 486.7 kB / 0.7396 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.2069, allocations: 129.6 kB / 0.7398 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.207, allocations: 12 kB / 0.7398 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.2075, allocations: 31.95 kB / 0.7398 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.2076, allocations: 11.98 kB / 0.7398 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.2077, allocations: 55.97 kB / 0.7399 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003956/0.2081, allocations: 299.1 kB / 0.7402 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2081, allocations: 0 / 0.7402 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003922/0.2085, allocations: 64 kB / 0.7402 GB, free: 4.914 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.002277/0.2107, allocations: 1.042 MB / 0.7412 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.2121, allocations: 469.8 kB / 0.7417 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2122, allocations: 4 kB / 0.7417 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.2129, allocations: 116.2 kB / 0.7418 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.2133, allocations: 36.23 kB / 0.7418 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.2183, allocations: 3.077 MB / 0.7448 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.2185, allocations: 170.9 kB / 0.745 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.892e-05/0.2185, allocations: 13.09 kB / 0.745 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.2186, allocations: 23.42 kB / 0.745 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.2186, allocations: 0 / 0.745 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.2491, allocations: 7.664 MB / 0.7525 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.68, allocations: 2.391 kB / 0.7525 GB, free: 8.172 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 os._exit(0), Time elapsed: 15.912041857955046] Failed to read output from testmodel.py, exit status != 0: 11.844243027968332 12.174639983 11.985418907 Calling exit ...