Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001886/0.001886, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001546/0.001546, allocations: 218.6 kB / 22.25 MB, free: 5.121 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002564/0.002564, allocations: 294.6 kB / 312.7 MB, free: 2.793 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.272/1.272, allocations: 180.6 MB / 0.5369 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002897/0.002897, allocations: 102.5 kB / 0.7396 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1837, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002897/0.1866, allocations: 1.544 MB / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1879, allocations: 0.5611 MB / 0.8348 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.1879, allocations: 0 / 0.8348 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.308e-05/0.188, allocations: 11.92 kB / 0.8348 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1881, allocations: 19.81 kB / 0.8348 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.189, allocations: 318.9 kB / 0.8351 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.1895, allocations: 487.4 kB / 0.8356 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.1896, allocations: 8 kB / 0.8356 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.19, allocations: 279.6 kB / 0.8358 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.1903, allocations: 153.9 kB / 0.836 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.1904, allocations: 24 kB / 0.836 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.1905, allocations: 28 kB / 0.836 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1906, allocations: 115.7 kB / 0.8361 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.1908, allocations: 187 kB / 0.8363 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.1913, allocations: 422.7 kB / 0.8367 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1913, allocations: 7.984 kB / 0.8367 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1913, allocations: 0 / 0.8367 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.1913, allocations: 0 / 0.8367 GB, free: 4.52 MB / 0.5762 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.00127/0.1926, allocations: 0.7912 MB / 0.8375 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1926, allocations: 13.34 kB / 0.8375 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.1927, allocations: 42.67 kB / 0.8376 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.1928, allocations: 52.7 kB / 0.8376 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.1932, allocations: 260.7 kB / 0.8379 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.1933, allocations: 16.38 kB / 0.8379 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.1933, allocations: 36.34 kB / 0.8379 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009845/0.1943, allocations: 210 kB / 0.8381 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1943, allocations: 3.938 kB / 0.8381 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1944, allocations: 0 / 0.8381 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1944, allocations: 8 kB / 0.8381 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007092/0.1951, allocations: 107.9 kB / 0.8382 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.1956, allocations: 356.4 kB / 0.8386 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.1972, allocations: 174.4 kB / 0.8387 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.1983, allocations: 101.7 kB / 0.8388 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1983, allocations: 0 / 0.8388 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009871/0.1993, allocations: 227.1 kB / 0.839 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.1993, allocations: 0 / 0.839 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002483/0.2018, allocations: 495 kB / 0.8395 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.2018, allocations: 55.41 kB / 0.8396 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.2023, allocations: 413.9 kB / 0.84 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.2024, allocations: 41.69 kB / 0.84 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.2024, allocations: 89.45 kB / 0.8401 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.2025, allocations: 47.67 kB / 0.8401 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.2027, allocations: 125.5 kB / 0.8402 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2028, allocations: 322.8 kB / 0.8406 GB, free: 380 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.2031, allocations: 115.9 kB / 0.8407 GB, free: 264 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.2034, allocations: 171.7 kB / 0.8408 GB, free: 72 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.2038, allocations: 280.4 kB / 0.8411 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2038, allocations: 7.938 kB / 0.8411 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008391/0.2046, allocations: 488.8 kB / 0.8416 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.2048, allocations: 91.31 kB / 0.8417 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2048, allocations: 7.984 kB / 0.8417 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2048, allocations: 4 kB / 0.8417 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.205, allocations: 19.92 kB / 0.8417 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.205, allocations: 4 kB / 0.8417 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.2054, allocations: 59.67 kB / 0.8417 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.2055, allocations: 68.08 kB / 0.8418 GB, free: 15 MB / 0.5919 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.0002433/0.2058, allocations: 194.4 kB / 0.842 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.2058, allocations: 39.7 kB / 0.842 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.2059, allocations: 39.69 kB / 0.8421 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2059, allocations: 4 kB / 0.8421 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2059, allocations: 0 / 0.8421 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2059, allocations: 3.984 kB / 0.8421 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.2081, allocations: 0.7161 MB / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2081, allocations: 0 / 0.8428 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.2081, allocations: 7.984 kB / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2081, allocations: 0 / 0.8428 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.2082, allocations: 27.97 kB / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2082, allocations: 0 / 0.8428 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.2082, allocations: 11.92 kB / 0.8428 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2098, allocations: 478.2 kB / 0.8433 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.2101, allocations: 133.5 kB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.2102, allocations: 11.98 kB / 0.8434 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.2106, allocations: 27.97 kB / 0.8434 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.2107, allocations: 15.92 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.2108, allocations: 55.97 kB / 0.8435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003255/0.2111, allocations: 295.1 kB / 0.8438 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2111, allocations: 0 / 0.8438 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003677/0.2115, allocations: 67.98 kB / 0.8439 GB, free: 12.82 MB / 0.5919 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.002092/0.2136, allocations: 1.026 MB / 0.8449 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.2148, allocations: 406.5 kB / 0.8453 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2148, allocations: 0 / 0.8453 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.2155, allocations: 114.9 kB / 0.8454 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2158, allocations: 25.64 kB / 0.8454 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.2204, allocations: 2.797 MB / 0.8481 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.2208, allocations: 0.7708 MB / 0.8489 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.2209, allocations: 17.08 kB / 0.8489 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.221, allocations: 23.42 kB / 0.8489 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.221, allocations: 0 / 0.8489 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/0.2578, allocations: 6.464 MB / 0.8552 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.14, allocations: 4 kB / 0.8552 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.705300187924877] Failed to read output from testmodel.py, exit status != 0: 11.242542863124982 11.259541158 11.065168435 Calling exit ...