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.001605/0.001605, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.00194/0.00194, allocations: 220.6 kB / 23 MB, free: 4.969 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 1.002/1.002, allocations: 149.9 MB / 463 MB, free: 10.8 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.002326/0.002326, allocations: 67.73 kB / 0.641 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.198, allocations: 89.17 MB / 0.7281 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002755/0.2008, allocations: 1.494 MB / 0.7296 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2022, allocations: 0.5384 MB / 0.7301 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.2022, allocations: 0 / 0.7301 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.2023, allocations: 7.922 kB / 0.7301 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2025, allocations: 35.78 kB / 0.7302 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.2033, allocations: 317 kB / 0.7305 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.2039, allocations: 483.4 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.2039, allocations: 4 kB / 0.7309 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.2043, allocations: 291.5 kB / 0.7312 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.2046, allocations: 127.7 kB / 0.7313 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-05/0.2047, allocations: 28 kB / 0.7313 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.2048, allocations: 24 kB / 0.7314 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.205, allocations: 115.6 kB / 0.7315 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.2052, allocations: 155.3 kB / 0.7316 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.2056, allocations: 430.7 kB / 0.732 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2056, allocations: 0 / 0.732 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2056, allocations: 0 / 0.732 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.2056, allocations: 8 kB / 0.732 GB, free: 13.16 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.001374/0.207, allocations: 0.8066 MB / 0.7328 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2071, allocations: 8.031 kB / 0.7328 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.2071, allocations: 38.75 kB / 0.7329 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2072, allocations: 52.69 kB / 0.7329 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.2077, allocations: 252.7 kB / 0.7332 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.2078, allocations: 28.3 kB / 0.7332 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.2079, allocations: 28.36 kB / 0.7332 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2089, allocations: 210 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2089, allocations: 3.938 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2089, allocations: 7.984 kB / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2089, allocations: 0 / 0.7334 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.2097, allocations: 99.86 kB / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.2101, allocations: 308.5 kB / 0.7338 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2111, allocations: 162.5 kB / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.2119, allocations: 101.2 kB / 0.7341 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2119, allocations: 8 kB / 0.7341 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009786/0.2129, allocations: 223.1 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2129, allocations: 0 / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00255/0.2154, allocations: 495.3 kB / 0.7348 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.2155, allocations: 59.41 kB / 0.7348 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.2159, allocations: 409.9 kB / 0.7352 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/0.216, allocations: 41.69 kB / 0.7353 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2161, allocations: 97.44 kB / 0.7353 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.2162, allocations: 47.67 kB / 0.7354 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.2164, allocations: 125.5 kB / 0.7355 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2165, allocations: 322.8 kB / 0.7358 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.2169, allocations: 191.3 kB / 0.736 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.2173, allocations: 241.3 kB / 0.7362 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.2177, allocations: 269.2 kB / 0.7365 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2177, allocations: 4 kB / 0.7365 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009412/0.2186, allocations: 0.5483 MB / 0.737 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/0.2187, allocations: 91.25 kB / 0.7371 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2187, allocations: 0 / 0.7371 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2188, allocations: 4 kB / 0.7371 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2189, allocations: 23.91 kB / 0.7371 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2189, allocations: 4 kB / 0.7371 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.2194, allocations: 64.03 kB / 0.7372 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.2195, allocations: 59.97 kB / 0.7373 GB, free: 7.461 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.0002708/0.2198, allocations: 197.7 kB / 0.7375 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.2199, allocations: 47.66 kB / 0.7375 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.2199, allocations: 35.69 kB / 0.7375 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.22, allocations: 0 / 0.7375 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.22, allocations: 0 / 0.7375 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.22, allocations: 3.984 kB / 0.7375 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.2223, allocations: 0.7083 MB / 0.7382 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2223, allocations: 4 kB / 0.7382 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.2223, allocations: 7.984 kB / 0.7382 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2223, allocations: 4 kB / 0.7382 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.2224, allocations: 19.92 kB / 0.7383 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2224, allocations: 4 kB / 0.7383 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2224, allocations: 7.922 kB / 0.7383 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2241, allocations: 486.2 kB / 0.7387 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.2244, allocations: 129.6 kB / 0.7389 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.2245, allocations: 12 kB / 0.7389 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.225, allocations: 35.95 kB / 0.7389 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.225, allocations: 7.984 kB / 0.7389 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/0.2251, allocations: 55.98 kB / 0.739 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003959/0.2255, allocations: 291.1 kB / 0.7392 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2255, allocations: 0 / 0.7392 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003727/0.2258, allocations: 71.98 kB / 0.7393 GB, free: 5.289 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.002123/0.2279, allocations: 1.034 MB / 0.7403 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.2293, allocations: 477.5 kB / 0.7408 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.2293, allocations: 4 kB / 0.7408 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.23, allocations: 107.9 kB / 0.7409 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2304, allocations: 34.83 kB / 0.7409 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.2352, allocations: 3.086 MB / 0.7439 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2354, allocations: 163 kB / 0.7441 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.2354, allocations: 13.08 kB / 0.7441 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.2355, allocations: 23.42 kB / 0.7441 GB, free: 112 kB / 0.5606 GB Notification: Performance of SimCode: time 8.61e-07/0.2355, allocations: 4 kB / 0.7441 GB, free: 108 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.2743, allocations: 8.046 MB / 0.752 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.62, allocations: 2.5 kB / 0.752 GB, free: 8.156 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: 16.12636176776141] Failed to read output from testmodel.py, exit status != 0: 11.736251235939562 12.042283842 11.834021399 Calling exit ...