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.001299/0.001299, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001628/0.001628, allocations: 216.7 kB / 22.25 MB, free: 4.855 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.785 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.002879/0.002879, allocations: 295.8 kB / 312.7 MB, free: 2.582 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.243/1.243, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.003014/0.003014, allocations: 103.5 kB / 0.7395 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1842, allocations: 95.39 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.003056/0.1872, allocations: 1.53 MB / 0.8341 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1886, allocations: 0.5243 MB / 0.8346 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1887, allocations: 0 / 0.8346 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.988e-05/0.1888, allocations: 11.86 kB / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1889, allocations: 23.86 kB / 0.8346 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.1897, allocations: 324.2 kB / 0.835 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000535/0.1902, allocations: 487.4 kB / 0.8354 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1903, allocations: 7.984 kB / 0.8354 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.1907, allocations: 275.7 kB / 0.8357 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.191, allocations: 131.6 kB / 0.8358 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1911, allocations: 28 kB / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-05/0.1912, allocations: 32 kB / 0.8359 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1913, allocations: 111.7 kB / 0.836 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.1915, allocations: 155.3 kB / 0.8361 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.192, allocations: 434.6 kB / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.192, allocations: 0 / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.192, allocations: 0 / 0.8365 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.192, allocations: 0 / 0.8365 GB, free: 4.281 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.001335/0.1933, allocations: 0.7988 MB / 0.8373 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.1934, allocations: 9.344 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.1934, allocations: 34.75 kB / 0.8374 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.1935, allocations: 68.69 kB / 0.8374 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.194, allocations: 252.7 kB / 0.8377 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.194, allocations: 20.36 kB / 0.8377 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.1941, allocations: 32.36 kB / 0.8377 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.195, allocations: 213.9 kB / 0.8379 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.195, allocations: 7.875 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1951, allocations: 3.984 kB / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1951, allocations: 7.984 kB / 0.8379 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007073/0.1958, allocations: 95.92 kB / 0.838 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1962, allocations: 308.5 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.1972, allocations: 162.5 kB / 0.8385 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006879/0.1979, allocations: 104.8 kB / 0.8386 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1979, allocations: 0 / 0.8386 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/0.1988, allocations: 233.3 kB / 0.8388 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1988, allocations: 0 / 0.8388 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002494/0.2013, allocations: 493 kB / 0.8393 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.2014, allocations: 55.41 kB / 0.8393 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.2019, allocations: 409.9 kB / 0.8397 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.2019, allocations: 41.69 kB / 0.8398 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.202, allocations: 97.44 kB / 0.8399 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.2021, allocations: 43.61 kB / 0.8399 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.2023, allocations: 133.4 kB / 0.84 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2024, allocations: 318.8 kB / 0.8403 GB, free: 180 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.2028, allocations: 191.3 kB / 0.8405 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.2032, allocations: 242.5 kB / 0.8407 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.2036, allocations: 275.8 kB / 0.841 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2036, allocations: 3.938 kB / 0.841 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009097/0.2045, allocations: 0.543 MB / 0.8415 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.291e-05/0.2046, allocations: 83.5 kB / 0.8416 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2046, allocations: 4 kB / 0.8416 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2046, allocations: 4 kB / 0.8416 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.2048, allocations: 31.91 kB / 0.8417 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2048, allocations: 3.984 kB / 0.8417 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.2052, allocations: 59.84 kB / 0.8417 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.2053, allocations: 55.98 kB / 0.8418 GB, free: 14.58 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.0002547/0.2055, allocations: 206.4 kB / 0.842 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.2056, allocations: 43.64 kB / 0.842 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.2057, allocations: 35.69 kB / 0.842 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2057, allocations: 4 kB / 0.842 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2057, allocations: 0 / 0.842 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2057, allocations: 3.984 kB / 0.8421 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.2079, allocations: 0.7144 MB / 0.8428 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2079, allocations: 0 / 0.8428 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.2079, allocations: 7.984 kB / 0.8428 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2079, allocations: 0 / 0.8428 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.208, allocations: 15.98 kB / 0.8428 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.208, allocations: 0 / 0.8428 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.208, allocations: 3.938 kB / 0.8428 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.2097, allocations: 487.4 kB / 0.8432 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.21, allocations: 133.5 kB / 0.8434 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/0.21, allocations: 15.98 kB / 0.8434 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.2105, allocations: 31.95 kB / 0.8434 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.2105, allocations: 15.92 kB / 0.8434 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.2106, allocations: 55.98 kB / 0.8435 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003214/0.2109, allocations: 295.1 kB / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2109, allocations: 0 / 0.8438 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003655/0.2113, allocations: 67.98 kB / 0.8438 GB, free: 12.39 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.002043/0.2133, allocations: 1.037 MB / 0.8448 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.2146, allocations: 465.9 kB / 0.8453 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2146, allocations: 0 / 0.8453 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.2153, allocations: 120.2 kB / 0.8454 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2157, allocations: 30.62 kB / 0.8454 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.2202, allocations: 3.088 MB / 0.8484 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2204, allocations: 163 kB / 0.8486 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.578e-05/0.2205, allocations: 13.08 kB / 0.8486 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.2205, allocations: 27.42 kB / 0.8486 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/0.2205, allocations: 0 / 0.8486 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.2568, allocations: 8.086 MB / 0.8565 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.72, allocations: 13.12 kB / 0.8565 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 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: 17.955030107870698] Failed to read output from testmodel.py, exit status != 0: 11.826331390999258 11.845297826 11.648713313 Calling exit ...