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.0008296/0.0008296, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007755/0.0007755, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8787/0.8787, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.001555/0.001555, allocations: 233.5 kB / 260.2 MB, free: 13.04 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.6365/0.6365, allocations: 138.4 MB / 455.1 MB, free: 1.605 MB / 362.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: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.6475 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.556e-05, allocations: 4.953 kB / 0.6475 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002037/0.002072, allocations: 1.518 MB / 0.649 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003104, allocations: 0.5299 MB / 0.6495 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.003183, allocations: 1.125 kB / 0.6495 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.003307, allocations: 15.86 kB / 0.6495 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.003453, allocations: 31.75 kB / 0.6495 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.004278, allocations: 322.1 kB / 0.6498 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.004797, allocations: 489.9 kB / 0.6503 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/0.004861, allocations: 6.641 kB / 0.6503 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.005283, allocations: 349.5 kB / 0.6506 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.005506, allocations: 127.7 kB / 0.6508 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.607e-05/0.005562, allocations: 26.34 kB / 0.6508 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.00562, allocations: 30.38 kB / 0.6508 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.005737, allocations: 120.2 kB / 0.6509 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.005867, allocations: 127.8 kB / 0.6511 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.006267, allocations: 468.2 kB / 0.6515 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.006272, allocations: 0 / 0.6515 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.006274, allocations: 0 / 0.6515 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.006281, allocations: 1.469 kB / 0.6515 GB, free: 25.9 MB / 0.5105 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.0009343/0.007215, allocations: 0.7924 MB / 0.6523 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.007265, allocations: 10.12 kB / 0.6523 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.007375, allocations: 55.27 kB / 0.6523 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.007658, allocations: 259.9 kB / 0.6526 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.007698, allocations: 19.7 kB / 0.6526 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.007749, allocations: 27.05 kB / 0.6526 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.008331, allocations: 227 kB / 0.6529 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008342, allocations: 192 / 0.6529 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.008364, allocations: 5.781 kB / 0.6529 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.008372, allocations: 1.688 kB / 0.6529 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.008751, allocations: 120.9 kB / 0.653 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.009065, allocations: 291 kB / 0.6533 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.00964, allocations: 178.8 kB / 0.6534 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.01002, allocations: 120.8 kB / 0.6535 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.01006, allocations: 2.75 kB / 0.6535 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.01068, allocations: 240.1 kB / 0.6538 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.01068, allocations: 7.938 kB / 0.6538 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.00149/0.01217, allocations: 0.5203 MB / 0.6543 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.01222, allocations: 60.45 kB / 0.6543 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.01259, allocations: 422 kB / 0.6547 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.01263, allocations: 37.67 kB / 0.6548 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.01269, allocations: 95.91 kB / 0.6549 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.01274, allocations: 34.41 kB / 0.6549 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.01289, allocations: 125.7 kB / 0.655 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.01293, allocations: 322.4 kB / 0.6553 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.01317, allocations: 197.7 kB / 0.6555 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.01341, allocations: 243.9 kB / 0.6558 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.01366, allocations: 280.5 kB / 0.656 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01367, allocations: 0 / 0.656 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005594/0.01423, allocations: 0.5589 MB / 0.6566 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.01427, allocations: 81.25 kB / 0.6566 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01428, allocations: 5.094 kB / 0.6567 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.0143, allocations: 3.344 kB / 0.6567 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01441, allocations: 25.77 kB / 0.6567 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.01442, allocations: 6.531 kB / 0.6567 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.01469, allocations: 69.69 kB / 0.6568 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.01476, allocations: 60.53 kB / 0.6568 GB, free: 22.16 MB / 0.5105 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.0001502/0.01491, allocations: 202.1 kB / 0.657 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.01495, allocations: 41.16 kB / 0.657 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.01501, allocations: 40.08 kB / 0.6571 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01501, allocations: 2.406 kB / 0.6571 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.01502, allocations: 0 / 0.6571 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01502, allocations: 3.938 kB / 0.6571 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.01619, allocations: 0.7108 MB / 0.6578 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01619, allocations: 0 / 0.6578 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.01621, allocations: 7.422 kB / 0.6578 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01622, allocations: 1.5 kB / 0.6578 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.01624, allocations: 24.58 kB / 0.6578 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01624, allocations: 5.094 kB / 0.6578 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01625, allocations: 0 / 0.6578 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.01709, allocations: 0.5013 MB / 0.6583 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.01726, allocations: 142.8 kB / 0.6584 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.0173, allocations: 12.75 kB / 0.6585 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.01752, allocations: 46.45 kB / 0.6585 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.01755, allocations: 11.23 kB / 0.6585 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-05/0.01761, allocations: 55.11 kB / 0.6586 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001896/0.0178, allocations: 305.9 kB / 0.6589 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.0178, allocations: 0 / 0.6589 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002412/0.01804, allocations: 66.2 kB / 0.6589 GB, free: 20.89 MB / 0.5105 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.0001142/0.01816, allocations: 111 kB / 0.659 GB, free: 20.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.01884, allocations: 497.2 kB / 0.6595 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01884, allocations: 4.125 kB / 0.6595 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.01917, allocations: 123.9 kB / 0.6596 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01943, allocations: 30.92 kB / 0.6596 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000807/0.02024, allocations: 0.6025 MB / 0.6602 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.744e-05/0.02032, allocations: 171 kB / 0.6604 GB, free: 19.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.02036, allocations: 16.48 kB / 0.6604 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.02036, allocations: 0 / 0.6604 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.003272/0.02363, allocations: 3.739 MB / 0.6641 GB, free: 15.67 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2071488639339805] Failed to read output from testmodel.py, exit status != 0: 0.028759414330124855 0.03414964 0.026493677 Calling exit ...