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.00132/0.00132, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001556/0.001556, allocations: 213 kB / 22.25 MB, free: 5.086 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8.012 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.002624/0.002624, allocations: 294.2 kB / 312.7 MB, free: 2.82 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.228/1.228, allocations: 180.6 MB / 0.5369 GB, free: 13.08 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: 105 kB / 0.7395 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1991, allocations: 95.39 MB / 0.8327 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.003255/0.2024, allocations: 1.547 MB / 0.8342 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2037, allocations: 0.5496 MB / 0.8347 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.2038, allocations: 4 kB / 0.8348 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.896e-05/0.2039, allocations: 19.8 kB / 0.8348 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.204, allocations: 23.86 kB / 0.8348 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.2048, allocations: 311.7 kB / 0.8351 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.2054, allocations: 487.5 kB / 0.8356 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.2054, allocations: 8 kB / 0.8356 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.2059, allocations: 283.6 kB / 0.8358 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.2062, allocations: 147.6 kB / 0.836 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.2063, allocations: 24 kB / 0.836 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.2063, allocations: 28 kB / 0.836 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.2065, allocations: 115.7 kB / 0.8361 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.2066, allocations: 187 kB / 0.8363 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.2071, allocations: 426.7 kB / 0.8367 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2071, allocations: 4 kB / 0.8367 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2071, allocations: 3.938 kB / 0.8367 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2071, allocations: 0 / 0.8367 GB, free: 4.562 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.001215/0.2083, allocations: 0.7912 MB / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2084, allocations: 13.34 kB / 0.8375 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.2084, allocations: 38.73 kB / 0.8376 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2085, allocations: 56.64 kB / 0.8376 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.209, allocations: 256.7 kB / 0.8378 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.209, allocations: 24.36 kB / 0.8379 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.2091, allocations: 24.38 kB / 0.8379 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.21, allocations: 210 kB / 0.8381 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.21, allocations: 7.875 kB / 0.8381 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.21, allocations: 0 / 0.8381 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.21, allocations: 4 kB / 0.8381 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.2107, allocations: 111.9 kB / 0.8382 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.2112, allocations: 352.4 kB / 0.8385 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009478/0.2121, allocations: 174.4 kB / 0.8387 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006797/0.2128, allocations: 104.8 kB / 0.8388 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2128, allocations: 0 / 0.8388 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009264/0.2137, allocations: 231 kB / 0.839 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2137, allocations: 0 / 0.839 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.0023/0.216, allocations: 491.4 kB / 0.8395 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.2161, allocations: 59.39 kB / 0.8396 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.2165, allocations: 409.9 kB / 0.84 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.2166, allocations: 41.69 kB / 0.84 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.2167, allocations: 93.45 kB / 0.8401 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.2167, allocations: 39.67 kB / 0.8401 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.2169, allocations: 133.5 kB / 0.8402 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2171, allocations: 318.8 kB / 0.8406 GB, free: 428 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.2173, allocations: 123.9 kB / 0.8407 GB, free: 304 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.2176, allocations: 175.6 kB / 0.8408 GB, free: 108 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.218, allocations: 276.2 kB / 0.8411 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.218, allocations: 0 / 0.8411 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008133/0.2188, allocations: 492.8 kB / 0.8416 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.2189, allocations: 99.3 kB / 0.8417 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2189, allocations: 0 / 0.8417 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.219, allocations: 4 kB / 0.8417 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.2191, allocations: 19.92 kB / 0.8417 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2191, allocations: 4 kB / 0.8417 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.2196, allocations: 63.78 kB / 0.8418 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.2197, allocations: 68.03 kB / 0.8418 GB, free: 15.04 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.0002394/0.2199, allocations: 190.4 kB / 0.842 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.22, allocations: 39.7 kB / 0.842 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.335e-05/0.2201, allocations: 43.69 kB / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2201, allocations: 0 / 0.8421 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.2201, allocations: 3.984 kB / 0.8421 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2201, allocations: 0 / 0.8421 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.2222, allocations: 0.7122 MB / 0.8428 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2222, allocations: 0 / 0.8428 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.2222, allocations: 7.938 kB / 0.8428 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2222, allocations: 0 / 0.8428 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.2223, allocations: 23.97 kB / 0.8428 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2223, allocations: 0 / 0.8428 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2223, allocations: 8 kB / 0.8428 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.2239, allocations: 478.2 kB / 0.8433 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.2242, allocations: 137.5 kB / 0.8434 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.2242, allocations: 8 kB / 0.8434 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.2247, allocations: 27.97 kB / 0.8434 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2247, allocations: 15.97 kB / 0.8435 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.2248, allocations: 59.97 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003405/0.2251, allocations: 295 kB / 0.8438 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2251, allocations: 0 / 0.8438 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000414/0.2255, allocations: 71.92 kB / 0.8439 GB, free: 12.87 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.002006/0.2275, allocations: 1.022 MB / 0.8449 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.2288, allocations: 406.5 kB / 0.8452 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2288, allocations: 0 / 0.8452 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007097/0.2295, allocations: 119 kB / 0.8454 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2299, allocations: 29.58 kB / 0.8454 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.234, allocations: 2.794 MB / 0.8481 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.2344, allocations: 0.7708 MB / 0.8489 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.024e-05/0.2345, allocations: 17.03 kB / 0.8489 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.2346, allocations: 19.42 kB / 0.8489 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.2346, allocations: 0 / 0.8489 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.2708, allocations: 6.466 MB / 0.8552 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.98, allocations: 0 / 0.8552 GB, free: 1.074 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 & 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.05385280900009] Failed to read output from testmodel.py, exit status != 0: 11.08719671200015 11.115605047 10.903376328 Calling exit ...