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.0007304/0.0007304, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007718/0.0007718, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8219/0.8219, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001361/0.001361, allocations: 234.5 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6678/0.6678, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6462 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.101e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001819/0.00184, allocations: 1.522 MB / 0.6477 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2305/0.2323, allocations: 0.5326 MB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2324, allocations: 0 / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.2326, allocations: 10.62 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.2327, allocations: 27.45 kB / 0.6483 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.2336, allocations: 320 kB / 0.6486 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.2341, allocations: 492.2 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.2342, allocations: 5.703 kB / 0.6491 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.2345, allocations: 351.5 kB / 0.6494 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.2347, allocations: 128.1 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.2348, allocations: 26.47 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-05/0.2348, allocations: 27.5 kB / 0.6496 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2349, allocations: 122.4 kB / 0.6497 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.235, allocations: 127.7 kB / 0.6498 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.2354, allocations: 468.2 kB / 0.6503 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2354, allocations: 0 / 0.6503 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2354, allocations: 0.5312 kB / 0.6503 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2354, allocations: 0.5312 kB / 0.6503 GB, free: 55.8 MB / 0.5573 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.0008028/0.2362, allocations: 0.7953 MB / 0.651 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2362, allocations: 11.22 kB / 0.651 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.2363, allocations: 42.42 kB / 0.6511 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.2364, allocations: 52.56 kB / 0.6511 GB, free: 55.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.2366, allocations: 257.7 kB / 0.6514 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.2367, allocations: 19.33 kB / 0.6514 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.2367, allocations: 30.05 kB / 0.6514 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.2374, allocations: 229.2 kB / 0.6517 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2374, allocations: 2.125 kB / 0.6517 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.2374, allocations: 8.109 kB / 0.6517 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.2374, allocations: 6.031 kB / 0.6517 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.2378, allocations: 108.8 kB / 0.6518 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.238, allocations: 304.8 kB / 0.6521 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.2385, allocations: 181.2 kB / 0.6522 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.2389, allocations: 121.9 kB / 0.6524 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.2389, allocations: 5.391 kB / 0.6524 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.2394, allocations: 239.4 kB / 0.6526 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.2394, allocations: 0.5 kB / 0.6526 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.001258/0.2407, allocations: 0.5265 MB / 0.6531 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2407, allocations: 68.58 kB / 0.6532 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.241, allocations: 407.1 kB / 0.6536 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.241, allocations: 45.41 kB / 0.6536 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.241, allocations: 94.86 kB / 0.6537 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.2411, allocations: 40.23 kB / 0.6537 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2412, allocations: 125 kB / 0.6538 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.092e-05/0.2412, allocations: 322.9 kB / 0.6542 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2414, allocations: 192.2 kB / 0.6543 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2416, allocations: 248.9 kB / 0.6546 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.2418, allocations: 274.7 kB / 0.6548 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2418, allocations: 1.656 kB / 0.6548 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004879/0.2423, allocations: 0.5618 MB / 0.6554 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.2423, allocations: 80.75 kB / 0.6555 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2423, allocations: 2.938 kB / 0.6555 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2423, allocations: 7.062 kB / 0.6555 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.2424, allocations: 22.98 kB / 0.6555 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2425, allocations: 5.938 kB / 0.6555 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.2427, allocations: 70.38 kB / 0.6556 GB, free: 52.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.2427, allocations: 64.88 kB / 0.6556 GB, free: 52.83 MB / 0.5573 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.0001251/0.2429, allocations: 197.6 kB / 0.6558 GB, free: 52.69 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.2429, allocations: 38.34 kB / 0.6559 GB, free: 52.67 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.2429, allocations: 41.81 kB / 0.6559 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2429, allocations: 3.938 kB / 0.6559 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.243, allocations: 3.125 kB / 0.6559 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.243, allocations: 1.594 kB / 0.6559 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2443, allocations: 0.7366 MB / 0.6566 GB, free: 52.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2443, allocations: 3.938 kB / 0.6566 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.2443, allocations: 8.406 kB / 0.6566 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.2443, allocations: 3.156 kB / 0.6566 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.2443, allocations: 23.31 kB / 0.6567 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2443, allocations: 0 / 0.6567 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2443, allocations: 1.453 kB / 0.6567 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/0.2452, allocations: 0.4989 MB / 0.6571 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.2455, allocations: 141.6 kB / 0.6573 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.2455, allocations: 11.31 kB / 0.6573 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.2459, allocations: 38.22 kB / 0.6573 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.2459, allocations: 9.344 kB / 0.6573 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.246, allocations: 60.19 kB / 0.6574 GB, free: 52.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002233/0.2462, allocations: 298.8 kB / 0.6577 GB, free: 51.87 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2462, allocations: 4 kB / 0.6577 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003156/0.2465, allocations: 66.31 kB / 0.6577 GB, free: 51.86 MB / 0.5573 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.003196/0.2497, allocations: 1.051 MB / 0.6588 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2507, allocations: 496.5 kB / 0.6592 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2507, allocations: 2.625 kB / 0.6592 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.2511, allocations: 131 kB / 0.6594 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2514, allocations: 27.7 kB / 0.6594 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.2538, allocations: 3.117 MB / 0.6624 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2539, allocations: 165 kB / 0.6626 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.242e-05/0.2539, allocations: 13.88 kB / 0.6626 GB, free: 48.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.254, allocations: 26.91 kB / 0.6626 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/0.254, allocations: 2 kB / 0.6626 GB, free: 48.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.2719, allocations: 8.063 MB / 0.6705 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.435/6.707, allocations: 3.906 kB / 0.6705 GB, free: 46.55 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.793404968455434] Failed to read output from testmodel.py, exit status != 0: 6.7865323554724455 6.79603306 6.558040741 Calling exit ...