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.001356/0.001356, allocations: 122 kB / 17.84 MB, free: 5.254 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.00158/0.00158, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.492/1.492, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9839/0.9839, allocations: 150 MB / 460.2 MB, free: 5.301 MB / 350.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.001999/0.001999, allocations: 64.75 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1774, allocations: 89.14 MB / 0.7238 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003085/0.1804, allocations: 1.522 MB / 0.7253 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.182, allocations: 0.5401 MB / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.1821, allocations: 4 kB / 0.7258 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.501e-05/0.1821, allocations: 15.8 kB / 0.7258 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1823, allocations: 23.86 kB / 0.7259 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008964/0.1832, allocations: 314.8 kB / 0.7262 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.1838, allocations: 483.4 kB / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1838, allocations: 4 kB / 0.7266 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.1843, allocations: 279.6 kB / 0.7269 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.1846, allocations: 147.6 kB / 0.727 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.188e-05/0.1847, allocations: 28 kB / 0.7271 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.251e-05/0.1848, allocations: 24 kB / 0.7271 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1849, allocations: 115.7 kB / 0.7272 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.1851, allocations: 187 kB / 0.7274 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.1856, allocations: 422.6 kB / 0.7278 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1856, allocations: 3.938 kB / 0.7278 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1856, allocations: 0 / 0.7278 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.1856, allocations: 4 kB / 0.7278 GB, free: 15.98 MB / 0.545 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.001514/0.1871, allocations: 0.8858 MB / 0.7287 GB, free: 15.01 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1872, allocations: 8.031 kB / 0.7287 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.326e-05/0.1872, allocations: 192 / 0.7287 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.1873, allocations: 42.73 kB / 0.7287 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1874, allocations: 52.7 kB / 0.7288 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1878, allocations: 314.6 kB / 0.7291 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.1879, allocations: 16.36 kB / 0.7291 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.188, allocations: 24.38 kB / 0.7291 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1891, allocations: 221.7 kB / 0.7293 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1891, allocations: 3.938 kB / 0.7293 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.1891, allocations: 4 kB / 0.7293 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1891, allocations: 0 / 0.7293 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.19, allocations: 99.92 kB / 0.7294 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.1905, allocations: 389.3 kB / 0.7298 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.1917, allocations: 166.5 kB / 0.7299 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000845/0.1926, allocations: 101.2 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1926, allocations: 11.92 kB / 0.73 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.1937, allocations: 223.1 kB / 0.7303 GB, free: 13.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.1937, allocations: 0 / 0.7303 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002884/0.1966, allocations: 486.5 kB / 0.7307 GB, free: 12.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.1966, allocations: 59.39 kB / 0.7308 GB, free: 12.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.1971, allocations: 413.9 kB / 0.7312 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.1972, allocations: 41.69 kB / 0.7312 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1973, allocations: 97.39 kB / 0.7313 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.1973, allocations: 39.69 kB / 0.7313 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.1976, allocations: 129.5 kB / 0.7315 GB, free: 11.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1977, allocations: 322.8 kB / 0.7318 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.1981, allocations: 119.9 kB / 0.7319 GB, free: 11.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.1986, allocations: 170.4 kB / 0.7321 GB, free: 11.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.199, allocations: 279.4 kB / 0.7323 GB, free: 11.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1991, allocations: 0 / 0.7323 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009564/0.2, allocations: 496.6 kB / 0.7328 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2001, allocations: 87.38 kB / 0.7329 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2001, allocations: 4.188 kB / 0.7329 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2001, allocations: 4 kB / 0.7329 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2003, allocations: 19.92 kB / 0.7329 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2003, allocations: 4 kB / 0.7329 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.2008, allocations: 59.84 kB / 0.733 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.2009, allocations: 67.95 kB / 0.733 GB, free: 10.27 MB / 0.545 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.0002574/0.2012, allocations: 198.5 kB / 0.7332 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.2013, allocations: 47.66 kB / 0.7333 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.025e-05/0.2014, allocations: 39.75 kB / 0.7333 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2014, allocations: 3.984 kB / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2014, allocations: 0 / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2014, allocations: 0 / 0.7333 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.204, allocations: 0.7542 MB / 0.734 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.204, allocations: 0 / 0.734 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.204, allocations: 4 kB / 0.734 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.204, allocations: 3.984 kB / 0.7341 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.2041, allocations: 19.98 kB / 0.7341 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2041, allocations: 0 / 0.7341 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2041, allocations: 4 kB / 0.7341 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.2061, allocations: 479.4 kB / 0.7345 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.2064, allocations: 200.7 kB / 0.7347 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.2065, allocations: 15.92 kB / 0.7347 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.207, allocations: 34.47 kB / 0.7348 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.2071, allocations: 11.98 kB / 0.7348 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.2071, allocations: 55.98 kB / 0.7348 GB, free: 8.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003555/0.2075, allocations: 291.1 kB / 0.7351 GB, free: 8.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2075, allocations: 0 / 0.7351 GB, free: 8.039 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004438/0.2079, allocations: 67.98 kB / 0.7352 GB, free: 7.973 MB / 0.545 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.002394/0.2103, allocations: 1.028 MB / 0.7362 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.2118, allocations: 402.5 kB / 0.7366 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2118, allocations: 0 / 0.7366 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008651/0.2127, allocations: 114 kB / 0.7367 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.2131, allocations: 30.86 kB / 0.7367 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.218, allocations: 2.799 MB / 0.7394 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2185, allocations: 0.7708 MB / 0.7402 GB, free: 2.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.2186, allocations: 17.08 kB / 0.7402 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.2186, allocations: 19.42 kB / 0.7402 GB, free: 2.594 MB / 0.545 GB Notification: Performance of SimCode: time 9.31e-07/0.2186, allocations: 4 kB / 0.7402 GB, free: 2.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.2465, allocations: 6.245 MB / 0.7463 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.702, allocations: 8 kB / 0.7463 GB, free: 12.33 MB / 0.5606 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 os._exit(0), Time elapsed: 12.600823670974933] Failed to read output from testmodel.py, exit status != 0: 8.828114825009834 8.843490634 8.654880844000001 Calling exit ...