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.001358/0.001358, allocations: 109 kB / 20.48 MB, free: 1.473 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.001446/0.001446, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.493/1.493, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.9732/0.9732, allocations: 150 MB / 464 MB, free: 10.48 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.002271/0.002271, allocations: 65.89 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1957, allocations: 89.17 MB / 0.7291 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003587/0.1993, allocations: 1.533 MB / 0.7306 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2007, allocations: 0.5423 MB / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.2008, allocations: 3.938 kB / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.319e-05/0.2009, allocations: 11.92 kB / 0.7311 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.201, allocations: 27.86 kB / 0.7311 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.2018, allocations: 322.7 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.2023, allocations: 487.4 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.2024, allocations: 4 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.2028, allocations: 283.6 kB / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003407/0.2032, allocations: 147.6 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.2032, allocations: 24 kB / 0.7324 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.2033, allocations: 28 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2035, allocations: 111.7 kB / 0.7325 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.2037, allocations: 191 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.2042, allocations: 426.7 kB / 0.7331 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.2043, allocations: 3.984 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2043, allocations: 0 / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.2043, allocations: 0 / 0.7331 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.001449/0.2057, allocations: 0.8067 MB / 0.7339 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2058, allocations: 12.03 kB / 0.7339 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.2058, allocations: 192 / 0.7339 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.2058, allocations: 50.72 kB / 0.7339 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.206, allocations: 48.7 kB / 0.734 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.2064, allocations: 260.6 kB / 0.7342 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.2065, allocations: 16.38 kB / 0.7342 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.2065, allocations: 28.36 kB / 0.7343 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2076, allocations: 213.7 kB / 0.7345 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2076, allocations: 0 / 0.7345 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.2077, allocations: 8 kB / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2077, allocations: 0 / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.2085, allocations: 99.92 kB / 0.7346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.2089, allocations: 360.3 kB / 0.7349 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.21, allocations: 174.4 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.2107, allocations: 97.16 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.2108, allocations: 4 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.2118, allocations: 227.1 kB / 0.7354 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.2119, allocations: 0 / 0.7354 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002681/0.2145, allocations: 492 kB / 0.7359 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2146, allocations: 55.41 kB / 0.7359 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.2151, allocations: 417.9 kB / 0.7363 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.2152, allocations: 41.69 kB / 0.7364 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.2153, allocations: 97.45 kB / 0.7365 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.2153, allocations: 47.67 kB / 0.7365 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.2155, allocations: 121.5 kB / 0.7366 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2157, allocations: 322.8 kB / 0.7369 GB, free: 9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.216, allocations: 115.9 kB / 0.737 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.2163, allocations: 173.9 kB / 0.7372 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.2167, allocations: 271.5 kB / 0.7375 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2167, allocations: 4 kB / 0.7375 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009077/0.2177, allocations: 494.4 kB / 0.7379 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.2178, allocations: 87.38 kB / 0.738 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2178, allocations: 3.984 kB / 0.738 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.2178, allocations: 7.938 kB / 0.738 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.218, allocations: 23.92 kB / 0.7381 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.218, allocations: 0 / 0.7381 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.2185, allocations: 64.03 kB / 0.7381 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.2186, allocations: 59.98 kB / 0.7382 GB, free: 7.641 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.0002795/0.2189, allocations: 197.7 kB / 0.7384 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.2189, allocations: 47.66 kB / 0.7384 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.219, allocations: 39.69 kB / 0.7384 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.219, allocations: 3.984 kB / 0.7384 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.219, allocations: 0 / 0.7384 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.219, allocations: 11.98 kB / 0.7385 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.2214, allocations: 0.7083 MB / 0.7391 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2214, allocations: 0 / 0.7391 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.2214, allocations: 11.94 kB / 0.7392 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.2214, allocations: 4 kB / 0.7392 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.2215, allocations: 19.97 kB / 0.7392 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2215, allocations: 4 kB / 0.7392 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2215, allocations: 0 / 0.7392 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.2233, allocations: 482.3 kB / 0.7396 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.2236, allocations: 125.6 kB / 0.7398 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.2237, allocations: 19.92 kB / 0.7398 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.2242, allocations: 27.97 kB / 0.7398 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.2242, allocations: 11.98 kB / 0.7398 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.2243, allocations: 55.97 kB / 0.7399 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000332/0.2246, allocations: 299.1 kB / 0.7402 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2246, allocations: 0 / 0.7402 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004299/0.225, allocations: 63.98 kB / 0.7402 GB, free: 5.465 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.002257/0.2273, allocations: 1.027 MB / 0.7412 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.2287, allocations: 406.8 kB / 0.7416 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2287, allocations: 4.062 kB / 0.7416 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.2295, allocations: 107.9 kB / 0.7417 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2298, allocations: 29.58 kB / 0.7417 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/0.2346, allocations: 2.789 MB / 0.7445 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.235, allocations: 0.7825 MB / 0.7452 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.389e-05/0.2351, allocations: 9.094 kB / 0.7452 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.2352, allocations: 23.42 kB / 0.7453 GB, free: 96 kB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.2352, allocations: 4 kB / 0.7453 GB, free: 92 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.2657, allocations: 6.443 MB / 0.7516 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.54, allocations: 9.938 kB / 0.7516 GB, free: 9.715 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.821738506958354] Failed to read output from testmodel.py, exit status != 0: 11.707350169017445 12.098512691 11.89187616 Calling exit ...